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-device-code-split
Specifies a SYCL* device code module assembly.
Syntax
| Linux: | -fsycl-device-code-split[=value] | 
| Windows: | -fsycl-device-code-split[=value] | 
Arguments
| value | Can be only one of the following: 
 | 
Default
| auto | This is the default whether you do not specify the compiler option or you do specify the compiler option, but omit a value. The compiler will use a heuristic to select the best way of splitting device code. | 
Description
This option specifies a SYCL* device code module assembly.
If option -fno-sycl-rdc is also specified, option -fsycl-device-code-split=off is equivalent to -fsycl-device-code-split=per_source.
When using this option, you must also specify option -fsycl.
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