Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Port from Microsoft Visual C++* to the Intel® oneAPI DPC++/C++ Compiler

This section describes a basic approach to porting applications from Microsoft Visual C++* for Windows* to the Intel® oneAPI DPC++/C++ Compiler for Windows.

If you build your applications from the Windows command line, you can port applications from Microsoft Visual C++ to the Intel® oneAPI DPC++/C++ Compiler by modifying your makefile to invoke the Intel® oneAPI DPC++/C++ Compiler instead of Microsoft Visual C++.

The Intel® oneAPI DPC++/C++ Compiler integration with Microsoft Visual Studio provides a conversion path to the Intel® oneAPI DPC++/C++ Compiler that allows you to build your Visual C++ projects with the Intel® oneAPI DPC++/C++ Compiler. This version of the Intel® oneAPI DPC++/C++ Compiler supports:

  • Microsoft Visual Studio 2022

  • Microsoft Visual Studio 2019

  • Microsoft Visual Studio 2017

    NOTE:
    Support for Microsoft Visual Studio 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release.

See the appropriate section in this documentation for details on using the Intel® oneAPI DPC++/C++ Compiler with Microsoft Visual Studio.

The Intel® oneAPI DPC++/C++ Compiler also supports many of the same compiler options, macros, and environment variables you already use in your Microsoft work.