@builtin("num_subgroups")
내장 값
The number of subgroups in the current workgroup.
- 쓰이는 곳
- 컴퓨트 입력
시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.
구문
@builtin("num_subgroups"): u32
설명
Compute stage only; on the CPU oracle and on WebGL2 a subgroup is one invocation, so it is the workgroup size.