File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -154,22 +154,16 @@ targets like SPIR-V).
154
154
155
155
#### Enable SYCL offload
156
156
157
- To enable compilation following the SYCL specification, a special option
157
+ To enable compilation following single-source multiple compiler-passes (SMCP)
158
+ technique which is described in the SYCL specification, a special option
158
159
must be passed to the clang driver:
159
160
160
161
` -fsycl `
161
162
162
163
With this option specified, the driver will invoke the host SYCL compiler and a
163
164
number of device compilers for targets specified in the ` -fsycl-targets `
164
- option. If this option is not specified, then single SPIR-V target is assumed,
165
- and single device compiler for this target is invoked.
166
-
167
- In the driver, the following bools are defined to determine the compilation
168
- mode in SYCL:
169
-
170
- * IsSYCL : True if the user has passed ` -fsycl-device-only ` to the compilation
171
- * IsSYCLOffloadDevice: True if calling clang to set up a device compilation
172
- * IsSYCLHost: True if setting up a call to clang to do a host compilation
165
+ option. If ` -fsycl-targets ` is not specified, then single SPIR-V target is
166
+ assumed, and single device compiler for this target is invoked.
173
167
174
168
The option ` -sycl-std ` allows specifying which version of
175
169
the SYCL standard will be used for the compilation.
You can’t perform that action at this time.
0 commit comments