Visible to Intel only — GUID: GUID-2ED092EE-EA78-46A3-9F5F-8631B89B9C00
Visible to Intel only — GUID: GUID-2ED092EE-EA78-46A3-9F5F-8631B89B9C00
fsycl-allow-device-dependencies
Determines whether dependencies are allowed between device images when splitting device code.
Syntax
Linux: |
-fsycl-allow-device-dependencies -fno-sycl-allow-device-dependencies |
Windows: |
-fsycl-allow-device-dependencies -fno-sycl-allow-device-dependencies |
Arguments
None
Default
-fno-sycl-allow-device-dependencies |
Dependencies are not allowed between device images when splitting device code. |
Description
This option determines whether dependencies are allowed between device images when splitting device code.
Option -fsycl-allow-device-dependencies allows dependencies between device images.
Option -fno-sycl-allow-device-dependencies constructs complete self-contained device images with no dependencies.
When using this option, you must also specify option -fsycl.
This option only affects device-code compilation.
IDE Equivalent
Alternate Options
None
Examples
The following shows examples of using this option:
Linux
icpx -fsycl test.cpp -fsycl-allow-device-dependencies
icpx -fsycl test.cpp -fno-sycl-allow-device-dependencies
Windows
icx -fsycl test.cpp -fsycl-allow-device-dependencies
icx -fsycl test.cpp -fno-sycl-allow-device-dependencies