File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,27 @@ your application.
81
81
specified with `-foffload-static-lib` are treated as host libraries and are
82
82
only used during the final host link.
83
83
84
+ ** ` -fsycl-device-code-split=<value> ` **
85
+
86
+ Perform SYCL device code split. There are three possible values for this
87
+ option:
88
+ - per_kernel - a separate device code module is created for each SYCL
89
+ kernel. Each device code module will contain a kernel and all its
90
+ dependencies, i.e. called functions and used variables.
91
+ - per_source - a separate device code module is created for each source
92
+ (translation unit). Each device code module will contain a bunch of kernels
93
+ grouped on per-source basis and all their dependencies, i.e. all used
94
+ variables and called functions, including the `SYCL_EXTERNAL` macro-marked
95
+ functions from other translation units.
96
+ - off - no device code split.
97
+ NOTE: By default device code split is 'off' - all kernels go into a
98
+ single module.
99
+
100
+ ** ` -fsycl-device-code-split ` **
101
+
102
+ Perform SYCL device code split in the per_source mode, i.e. create a
103
+ separate device code module for each source (translation unit).
104
+
84
105
### Intel FPGA specific options
85
106
86
107
** ` -fintelfpga ` **
You can’t perform that action at this time.
0 commit comments