Skip to content

Commit 86853e2

Browse files
committed
Apply comments
1 parent 0e756c1 commit 86853e2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sycl/doc/SYCL2020-SpecializationConstants.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,16 @@ composite specialization constants do not have separate ID and can only be set
118118
by setting value to each member of a composite, which means that we have `1:n`
119119
mapping between SYCL identifiers and numeric IDs of specialization constants.
120120

121-
4. When AOT compilation is used or target is a CUDA device (where NVPTX
122-
intermediate representation is used), we need to somehow emulate support for
123-
specialization constants.
121+
4. When AOT compilation is used or the target device does not use SPIR-V as the
122+
device code format (for example, CUDA device, where NVPTX intermediate
123+
representation is used), we need to somehow emulate support for specialization
124+
constants.
124125

125126
## Design
126127

127128
As stated above, native specialization constants support is based on
128-
corresponding SPIR-V functionality, while emulation is supposed to be
129-
implemented through transforming specialization constants into kernel arguments.
129+
corresponding SPIR-V functionality, while emulation is implemented through
130+
transforming specialization constants into kernel arguments.
130131

131132
In DPC++ Headers/DPC++ RT we don't know a lot of necessary information about
132133
specialization constants, like: which numeric ID is used for particular

0 commit comments

Comments
 (0)