On GFX10.3 to GFX11.7, ACO lowers a subgroup-scope OpReadClockKHR to s_getreg_b32 of SHADER_CYCLES, 20 bits zero-extended to 64, so s_memtime wrapped every 2^20 cycles and went backwards. Detect those families from the RADV device name and read the device clock there instead. Fixes #985 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| include/ControlFlow | ||
| src | ||