WIP: [pr-performance][shaders][INTEL] Use the cheaper legacy products on Intel cards #38
Loading…
Reference in a new issue
No description provided.
Delete branch "kisekinopureya/Darner:kisekinopureya/pr/legacy-products"
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?
Contributor role (optional)
What it changes
v_mul_legacy_f32and the like (0 times anything is 0) were spelled out in full on every host butAMD: a product, two comparisons, an OR and a select. On an Intel card they now take AMD's form
(
rdna::LEGACY): a plain product where no factor can be infinite or NaN while the other is 0, and onecomparison where it can. A zero may have the other sign.
DARNER_INTEL_LEGACY_MUL=0turns it off.Also adds the diagnostic
DARNER_LEGACY_PLAIN=1(plain products everywhere, for measuring). Both arein the shader cache key.
How it was tested
1a5286a7; the gates re-run there)Darner.
Checklist
main.docs/asset-policy.md.Checked for overlap
DARNER_LEGACY_MIN: a different change in the same lowering).🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.