Developer Guide and Reference

Contents

fsycl-device-code-split

Specifies a SYCL* device code module assembly.
This content is specific to
DPC++
.

Syntax

Linux:
-fsycl-device-code-split
[
=
value
]
Windows:
-fsycl-device-code-split
[
=
value
]
Arguments
value
Can be only one of the following:
per_kernel
Creates a separate device code module for each SYCL* kernel. Each device code module will contain a kernel and all its dependencies, such as called functions and used variables.
per_source
Creates a separate device code module for each source (translation unit).
Each device code module will contain a collection of kernels grouped on per-source basis and all their dependencies, such as all used variables and called functions, including the SYCL_EXTERNAL macro-marked functions from other translation units.
off
Creates a single module for all kernels.
auto
The compiler will use a heuristic to select the best way of splitting device code. This is the same as specifying
fsycl-device-code-split
with no value.
Default
auto
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.
IDE Equivalent
None
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.