kernel.subgroup.count¶
Read the number of subgroups in the current workgroup.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | executable |
| Traits | Pure, HasAncestor(kernel.def) |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Result | result |
index |
required | Subgroup count in the workgroup. |