Visible to Intel only — GUID: GUID-3B022787-9FBA-4EFB-9FB5-0DADB830256A
Visible to Intel only — GUID: GUID-3B022787-9FBA-4EFB-9FB5-0DADB830256A
fsycl-device-lib
Enables or disables certain device libraries for a SYCL* target. This feature is only available for ifx.
Syntax
Linux: |
-fsycl-device-lib=library[,library,...] -fno-sycl-device-lib=library[,library,...] |
macOS: |
None |
Windows: |
-fsycl-device-lib=library[,library,...] -fsycl-device-lib=library[,library,...] |
Arguments
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. |
Default
OFF |
Disables linking to device libraries for this target. |
Description
This option enables or disables certain device libraries for a SYCL* target.
When using this option, you must also specify option -fsycl.
If you specify fno-sycl-device-lib=library, linking to the specified library is disabled for the SYCL* target.
For information about available SYCL drivers, refer to Invoke the Compiler.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
IDE Equivalent
Alternate Options
None