Skip to content

Commit ddfca98

Browse files
committed
align the cluster size restriction wordings
1 parent 60df14e commit ddfca98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OpenCL_C.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14959,9 +14959,9 @@ gentype sub_group_clustered_rotate(
1495914959
The value of _delta_ is required to be dynamically-uniform for all work
1496014960
items in the sub-group, otherwise the behavior is undefined.
1496114961

14962-
_clustersize_ must be an integer constant expression and a power of two,
14963-
smaller than or equal to the maximum sub-group size, otherwise the
14964-
behavior is undefined.
14962+
Behavior is undefined if _clustersize_ is not an integer constant
14963+
expression, is not a power-of-two, or is greater than the maximum size of a
14964+
sub-group within the dispatch.
1496514965

1496614966
The return value is undefined if the work item with sub-group local ID
1496714967
equal to the calculated index is inactive.

0 commit comments

Comments
 (0)