Xopenmp-target
Enables options to be passed to the
specified tool in the device compilation tool chain for the target. This
compiler option supports OpenMP* offloading.
Syntax
Linux:
-Xopenmp-target
-
tool
=
T
"
options
"
Windows:
-Xopenmp-target
-
tool
=
T
"
options
"
Arguments
- tool
- Can be one of the following:
- frontend
- Indicates the frontend + middle end of the Standard Portable Intermediate Representation (SPIR-V*)-based device compiler for target tripleT.The middle end is the part of a SPIR-V*-based device compiler that generates SPIR-V*. This SPIR-V* is then passed by thedpcppdriver to the backend of targetT.
- backend
- Indicates Ahead of Time (AOT) compilation for target tripleTand Just in Time (JIT) compilation for targetTat runtime.
- linker
- Indicates the device code linker for target tripleT.
Some targets may havefrontendandbackendin one component; in that case, options are merged. - T
- Is the target triple device.
- options
- Are the options you want to pass totool.
Default
- OFF
- No options are passed to a tool.
Description
This option enables options to be passed to the specified
tool in the device compilation tool chain for the target. It supports OpenMP*
offloading.
IDE Equivalent
Visual Studio:
Linker > General > Pass <arg> to the
backend of target device compiler specified by <triple> for OpenMP
offload
DPC++ > Language > Pass <arg> to the frontend of target
device compiler for OpenMP offload
C/C++ > Language [Intel C++] > Pass <arg> to the frontend of
target device compiler for OpenMP offload
Linker > General > Pass <arg> to the
device code linker for OpenMP offload
Eclipse:
Linker(Or Intel C++ Linker) > General > Pass
<arg> to the backend of target device compiler specified by
<triple> for OpenMP offload
Intel(R) oneAPI DPC++ Compiler > Language > Pass <arg> to the
frontend of target device compiler for OpenMP offload
Intel C++ Compiler > Language > Pass <arg> to the frontend of
target device compiler for OpenMP offload
Linker(Or Intel C++ Linker) > General > Pass
<arg> to the device code linker for OpenMP offload
Alternate Options
None