fix(hw-oracle): assemble wave64 bodies in wave64 mode #1962
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1962"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by CouchRiv on 2026-10-09T02:55:58Z.
What
hw_oracle.py --wave64can't assemble a body that usesvccor an SGPR pair as a condition:The template sets the kernel to wave64, but
assemble()calls clang without-mwavefrontsize64, so clang assembles the body as wave32, wherevccis 32 bits wide. clang now gets-mwavefrontsize64on--wave64runs. Wave32 runs are unchanged.Tested
Linux (CachyOS), Radeon 610M (gfx1036), ROCm 7.2.4, clang 23.1.1.
mainwith the error above. With this change it runs, and a 70-row version that also usess[8:9]as the condition gives the expected values on every row, including lanes 32-63 and a second wave.v_add_f16example fromHW_ORACLE.mdstill gives00004000and00007e01in wave32.test_hw_oracle.pyhas a new test that assembles these conditions in both modes. It fails without the fix and skips when clang isn't installed.check_conventions.pypasses.Python only, so no ctest run.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T03:11:04Z.
The reported local assembly regression and conventions check look useful, but this head currently has no upstream check runs (
gh pr checksreports none). CONTRIBUTING says a fork PR with anaction_requiredworkflow needs maintainer approval before CI has actually run. Could you check whether the Build/Conventions workflows are waiting for approval and request a rerun if so?Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T03:14:25Z.
I checked the Actions API for this exact head: Build and Conventions are marked
action_required, so upstream CI has not run. Per CONTRIBUTING, a maintainer needs to approve those workflow runs; please request that approval.Imported from boykopovar/AnyPS5. Originally posted by CouchRiv on 2026-10-09T03:14:49Z.
Yes, they're waiting for approval. All three runs on
dc902b2finished asaction_requiredwith no jobs, so CI hasn't run yet:This is my first PR here, so a maintainer has to approve the workflows; I can't rerun them from the fork. Locally,
test_hw_oracle.py(6 tests),check_conventions.py --base origin/mainandgit diff --checkpass.Imported from boykopovar/AnyPS5. Originally posted by CouchRiv on 2026-10-09T03:21:39Z.
@adriadam10 could you approve the workflow runs for this PR and #1964? They're my first PRs here, so GitHub holds them as
action_requiredwith no jobs.