Compiler Options

This compiler supports many compiler options you can use in your applications.

In this section, we provide the following:

Clang compiler options are supported for this compiler. For more information about Clang options, see the Clang documentation. The Clang website is https://clang.llvm.org/.

Note

On Windows, two compilers are available: dpcpp and dpcpp-cl.

If you want to use Linux-style option syntax, in which options start with -, you should continue to use the dpcpp compiler.

If you want to use Microsoft Visual Studio C++ (MSVC)-compatible option syntax, in which options start with /, you should use the dpcpp-cl compiler.

Note

macOS* is not supported for the icx/icpx, dpcpp, or dpcpp-cl compilers. For macOS or Xcode* support, visit the icc compiler: Intel® C++ Compiler 19.1 Developer Guide and Reference.