Visible to Intel only — GUID: GUID-4AEDB6F5-3F41-4B18-ADFF-85C04DF01241
Visible to Intel only — GUID: GUID-4AEDB6F5-3F41-4B18-ADFF-85C04DF01241
fopenmp-device-lib
Enables or disables certain device libraries for an OpenMP* target.
Linux: |
-fopenmp-device-lib=library[,library,...] -fno-openmp-device-lib=library[,library,...] |
macOS: |
None |
Windows: |
-fopenmp-device-lib=library[,library,...] -fno-openmp-device-lib=library[,library,...] |
library |
Possible values are:
To link more than one library, include a comma between the library names. For example, if you want to link both the libm-fp32 device library and the C library, specify: libm-fp32,libc. Do not add spaces between library names. Note that if you specify "all", it supersedes any additional value you may specify. |
OFF |
Disables linking to device libraries for this target. |
This option enables or disables certain device libraries for an OpenMP* target.
If you specify fno-openmp-device-lib=library, linking to the specified library is disabled for the OpenMP* target.
When OpenMP* offloading is enabled, this option only applies to device-specific compilation. Offloading can only be enabled when using ifx.
Visual Studio: Linker > General > Enable linking of the device libraries for OpenMP offload
Linker > General > Disable linking of the device libraries for OpenMP offload
None