Skip to content

Commit ac99b50

Browse files
Fznamznonbader
authored andcommitted
[Doc][SYCL] Remove low-level implementation details from the doc (#1022)
Fix bugs in driver modes doc Signed-off-by: Mariya Podchishchaeva <[email protected]>
1 parent 9d4b9c1 commit ac99b50

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

sycl/doc/SYCLCompilerAndRuntimeDesign.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,22 +154,16 @@ targets like SPIR-V).
154154

155155
#### Enable SYCL offload
156156

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
158159
must be passed to the clang driver:
159160

160161
`-fsycl`
161162

162163
With this option specified, the driver will invoke the host SYCL compiler and a
163164
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.
173167

174168
The option `-sycl-std` allows specifying which version of
175169
the SYCL standard will be used for the compilation.

0 commit comments

Comments
 (0)