Repository navigation
Conversation
|
Independent verification of open head
AI-assisted (Codex). |
|
@whattheflop, thanks for the thorough WSL verification of Ubuntu Noble packages and confirming all 220 assembly fixtures pass! Clarified in commit 37141c3 that LLVM 19 satisfies the stock CI fixtures while full f16 fuzzing with \�alu_fuzz.py --family f16\ requires LLVM 21+. |
tomgamer22
left a comment
There was a problem hiding this comment.
The llvm-19 switch is consistent across .github/workflows/runtime.yml:224/256/296, no llvm-18 is left in .github/, and llvm-19 is a valid package on the ubuntu-24.04 (noble) runner. I couldn't run llvm-mc here. Could you confirm that llvm-19's llvm-mc assembles ps_sdwa_f16_const (v_cvt_f16_u16_sdwa v5, 1.0), with a local run or a CI log, since docs/testing.md:25-26 now states it? AI-assisted review (Claude Code).
Jolymmiles
left a comment
There was a problem hiding this comment.
Note
🤖 Gemini 4 Neon responding on behalf of Jolymmiles
Tested 37141c3f against main (f847748c) in a clean ubuntu:24.04 (linux/amd64) container (CPU/toolchain only, no GPU execution or game files): pass.
llvm-19(1:19.1.1-1ubuntu1~24.04.2) installs cleanly from standardnoble-updates/universewithout addingapt.llvm.org, providing/usr/lib/llvm-19/bin/llvm-mcwithamdgcnsupport.runtime/test/shaders/ps_sdwa_f16_const.asm:30(v_cvt_f16_u16_sdwa v5, 1.0 ...) assembles cleanly to[0xf9,0xa0,0x0a,0x7e,0xf2,0x14,0x85,0x00].scripts/run_gpu_tests.py::assemble_to_spasses 230/230 fixtures onf847748c.runtime/test/shaders/build.py(llvm-mctordna2spirv.pytospirv-astospirv-val, Vulkan 1.2) passes 224/224 native and 99/99 underLEONIDA_W64_EMULATE=1(cs_*).- Confirmed the
docs/testing.mdclaim:v_ashrrev_i16_e64 ... op_sel:[0,0,0]is still rejected onllvm-19(andllvm-20), sollvm-21+remains required forvalu_fuzz.py --family f16and will be worth aligning inruntime.ymllater. - Non-blocking nit: the rewritten
docs/testing.md:25-28drops the earlier note thatvalu_fuzz.py --family memandlds_fuzz.pywork with olderllvm-mc, andruntime.ymldoes not run a--version/amdgcnsanity check likeci.yml:132-135.
In .github/workflows/runtime.yml, the `linux-gpu-tools` job pinned `llvm-18`'s `llvm-mc`, which rejects the new `ps_sdwa_f16_const` fixture (`v_cvt_f16_u16_sdwa v5, 1.0` inline float constant on an integer-source SDWA op) introduced in d78546f, causing scripts/run_gpu_tests.py to abort before reporting GPU test results. Upgrade the pinned assembler path from `llvm-18` to `llvm-19` across package installation and the native & wave64 emulation test steps. Also update documentation in docs/testing.md to reflect that llvm-18 rejects ps_sdwa_f16_const and that llvm-19+ is required. Claim: ItsNotRexed#3047 (comment) Fixes: BUILD-923
…z f16 requires LLVM 21+
37141c3 to
b42efa1
Compare
…(BUILD-923) - In .github/workflows/runtime.yml, add a sanity check step ensuring /usr/lib/llvm-19/bin/llvm-mc has amdgcn target support after package installation. - In docs/testing.md, retain the note that older llvm-mc (18+) supports valu_fuzz.py --family mem and lds_fuzz.py, while stock CI fixtures need 19+ and full f16 fuzzing requires 21+.
|
Pushed commit 291767e incorporating the review feedback:
|
|
One fixture worth running through llvm-19 before this lands, since it decides whether #3248 or #4204 covers the GPU job: If llvm-19 assembles it, your bump is enough for |
|
Code read of
At this head the PR's own jobs ( |
Claim: #3047 (comment) (BUILD-923, finding by @ray3242 in #3047 comment 188)
What and why
The CI job
Runtime / linux-gpu-toolsin.github/workflows/runtime.ymlpinned/usr/lib/llvm-18/bin/llvm-mc. The new shader fixtureps_sdwa_f16_constintroduced ind78546fcusesv_cvt_f16_u16_sdwa v5, 1.0(inline float constant on an integer-source SDWA op), whichllvm-18rejects withinvalid operand for instruction. Because of this,scripts/run_gpu_tests.pyaborted at its first assembly step before reporting any GPU test outcomes.This upgrades the assembler from
llvm-18tollvm-19across:[ -x /usr/lib/llvm-19/bin/llvm-mc ] || pkgs+=(llvm-19)--llvm-mc /usr/lib/llvm-19/bin/llvm-mc--llvm-mc /usr/lib/llvm-19/bin/llvm-mcAlso updates
docs/testing.mdto note thatllvm-18rejectsps_sdwa_f16_constand thatllvm-19+is required.Tested
yaml.safe_load().llvm-18references remain in.github/.AI-assisted.