WorkgroupSize

Description

Signature

vector<int, 3> WorkgroupSize();

Availability and Requirements

Defined for the following targets:

hlsl

Available in stages: compute, mesh, amplification.

glsl

Available in stages: compute, mesh, amplification.

c

Available in compute stage only.

cpp

Available in compute stage only.

cuda

Available in compute stage only.

metal

Available in stages: compute, mesh, amplification.

spirv

Available in stages: compute, mesh, amplification.

wgsl

Available in compute stage only.

slangvm

Available in compute stage only.