Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
fsycl-allow-device-image-dependencies
Determines whether dependencies are allowed between device images when splitting device code.
Syntax
| Linux: | -fsycl-allow-device-image-dependencies -fno-sycl-allow-device-image-dependencies | 
| Windows: | -fsycl-allow-device-image-dependencies -fno-sycl-allow-device-image-dependencies | 
Arguments
None
Default
| -fno-sycl-allow-device-image-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-image-dependencies allows dependencies between device images.
Option -fno-sycl-allow-device-image-dependencies constructs complete self-contained device images with no dependencies.
When using this option, you must also specify -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-image-dependencies
icpx -fsycl test.cpp -fno-sycl-allow-device-image-dependencies
Windows
icx -fsycl test.cpp -fsycl-allow-device-image-dependencies
icx -fsycl test.cpp -fno-sycl-allow-device-image-dependencies