Skip to content

Commit 484a71f

Browse files
committed
[DOC] Remove type from composite spec const descriptor
Type information is useless in precence of constant size
1 parent 51732aa commit 484a71f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/doc/SpecializationConstants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,15 +239,15 @@ spec constants, because its defined by its members instead.
239239
##### The post-link tool changes
240240
241241
For composite specialization constants the post link tool will additionally
242-
generate linearized list of \<leaf spec ID,type,offset,size\> tuples (descriptors),
242+
generate linearized list of \<leaf spec ID,offset,size\> tuples (descriptors),
243243
where each tuple describes a leaf field, and store it together with the
244244
existing meta-information associated with the specialization constants and
245245
passed to the runtime. Also, for a composite specialization constant there is
246246
no ID map entry within the meta information, and the composite constant is
247247
referenced by its symbolic ID. For example:
248248
249249
```
250-
MyConst_mangled [10,int,0,4],[11,float,4,4],[12,int,8,4],[13,float,12,4],[14,int,16,4]
250+
MyConst_mangled [10,0,4],[11,4,4],[12,8,4],[13,12,4],[14,16,4]
251251
```
252252
253253
#### SYCL runtime

0 commit comments

Comments
 (0)