kernel.workgroup.count¶
Read the dispatched workgroup count in one grid dimension.
Operation contract¶
| Property | Value |
|---|---|
| Semantic phase | executable |
| Traits | Pure, HasAncestor(kernel.def) |
Signature¶
| Kind | Name | Type | Cardinality | Description |
|---|---|---|---|---|
| Result | result |
index |
required | Dispatched workgroup count in the selected dimension. |
| Attribute | dimension |
enum KernelDimension |
required | Coordinate axis to read. |