Skip to content

Commit

Permalink
[DOC] Remove type from composite spec const descriptor
Browse files Browse the repository at this point in the history
Type information is useless in precence of constant size
  • Loading branch information
AlexeySachkov committed Oct 23, 2020
1 parent 51732aa commit 484a71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/doc/SpecializationConstants.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,15 @@ spec constants, because its defined by its members instead.
##### The post-link tool changes
For composite specialization constants the post link tool will additionally
generate linearized list of \<leaf spec ID,type,offset,size\> tuples (descriptors),
generate linearized list of \<leaf spec ID,offset,size\> tuples (descriptors),
where each tuple describes a leaf field, and store it together with the
existing meta-information associated with the specialization constants and
passed to the runtime. Also, for a composite specialization constant there is
no ID map entry within the meta information, and the composite constant is
referenced by its symbolic ID. For example:
```
MyConst_mangled [10,int,0,4],[11,float,4,4],[12,int,8,4],[13,float,12,4],[14,int,16,4]
MyConst_mangled [10,0,4],[11,4,4],[12,8,4],[13,12,4],[14,16,4]
```
#### SYCL runtime
Expand Down

0 comments on commit 484a71f

Please sign in to comment.