WorkgroupSize class final
How many invocations a workgroup runs along each of its three axes: a
kernel's workgroup x, y, z, and a material's workgroup x y.
A class rather than a record, so it can say what it is and gain a member later; three numbers rather than two, because a kernel over a volume needs the third.
Constructors
- WorkgroupSize(int x, int y, int z)
-
x×y×zinvocations, each at least one.const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- invocations → int
-
How many invocations one workgroup runs: x × y × z.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → int
-
Along x.
final
- y → int
-
Along y; one for a kernel over a line.
final
- z → int
-
Along z; one for a kernel over a line or a plane.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override