diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 00:30:17 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 00:30:17 -0300 |
| commit | de43b46da083ee79e92ccfeb0490bcf9259321a3 (patch) | |
| tree | c35eada3053566a8133a03c9892f7ac77e547ed7 /runtime/src/pe_loader.cpp | |
| parent | 8df277fb035b384971497f6f9790f7fc4b9ec1d1 (diff) | |
Translator: s_get_waveid_in_workgroup
s_get_waveid_in_workgroup raised Unsupported. Thread i of a workgroup runs in
wave i / W, the rule wave_lane already uses for the lane, so D =
LocalInvocationIndex >> 5 (wave32) or >> 6 (wave64). The flattening of
LocalInvocationId moves out of wave_lane into local_index(), shared by both.
Only compute and mesh shaders have a workgroup; other stages stay
Unsupported.
tests/semantic/test_salu_waveid.py runs 128-thread compute listings on the
CPU (every invocation, run_workgroup) in wave32 and wave64 and with a 3-D
group, and checks each thread's value.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions