File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,16 @@ composite specialization constants do not have separate ID and can only be set
118
118
by setting value to each member of a composite, which means that we have ` 1:n `
119
119
mapping between SYCL identifiers and numeric IDs of specialization constants.
120
120
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.
124
125
125
126
## Design
126
127
127
128
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.
130
131
131
132
In DPC++ Headers/DPC++ RT we don't know a lot of necessary information about
132
133
specialization constants, like: which numeric ID is used for particular
You can’t perform that action at this time.
0 commit comments