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. We do not document these options, but you can check dpcpp -help and icx/icpx -help on the command line to see if a particular option is supported. 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, where options start with -, you should continue to use the dpcpp compiler.

If you want to use Microsoft Visual C++ (MSVC)-compatible option syntax, where 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.

For details about new functionalty, such as new compiler options, see the Release Notes for the product.