kernel.subgroup.size¶
Read the execution width of the current subgroup. The width includes inactive lanes and may exceed the workgroup's invocation count.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | executable |
| Traits | Pure, HasAncestor(kernel.def) |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Result | result |
index |
required | Current subgroup size. |