Skip to content

Commit 8f323a1

Browse files
committed
Apply comments
1 parent 879566a commit 8f323a1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

sycl/doc/SpecializationConstants.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,14 @@ MyConst_mangled [10,0,4],[11,4,4],[12,8,4],[13,12,4],[14,16,4]
302302
```
303303

304304
This tuple is needed, because at SYCL runtime level, composite constants are set
305-
by user as a single entity and we have to break it down to its members and set a
306-
value for each leaf as for a separate specialization constant. It contains the
307-
following data:
308-
- ID of composite constants leaf, i.e. ID of scalar spec constant
305+
by user as a byte array and we have to break it down to the leaf members of the
306+
composite and set a value for each leaf as for a separate scalar specialization
307+
constant. Each tuple contains the following data:
308+
- ID of composite constant leaf, i.e. ID of a scalar specialization constant
309309
- Offset from the beginning of composite, which points to the location of a
310-
scalar value within the composite
311-
- Size of the scalar value
310+
scalar value within the composite, i.e. the position where scalar
311+
specialization constant resides within the byte array supplied by the user
312+
- Size of the scalar specialization constant
312313

313314
#### SYCL runtime
314315

0 commit comments

Comments
 (0)