Repository navigation
Conversation
#3120 merged ds_add_f32 with CPU-only checks. Lane 0 of a wave32 group checks the returned old value, a plain sum, ties to even both ways, -0 + +0, overflow to +inf, the non-returning form and offset:. No denormal or NaN input (not measured). Registered in check.py, run_gpu_tests.py and regen_fixtures.py; tests/semantic/test_lds_add_f32_fixture.py runs it on the CPU against a once-rounded double sum and checks both runners expect the same words.
…ct for these inputs only @justr4mzi: python -I on the file failed with ModuleNotFoundError: support, as the folder was not on sys.path (now inserted, as test_cs_shared_memory_limit does). @tupacfan04: a double sum of two binary32 values is not exact in general; the docstring says it is for this file's inputs.
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py
This was referenced Nov 24, 2026
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):#3120mergedds_add_f32/ds_add_rtn_f32with CPU-only checks. This adds a GPU fixture,runtime/test/shaders/cs_w32_lds_add_f32.asm. Lane 0 of a wave32 group stores eight dwords:Re-submission of
#4323.#4323was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with currentmain.Checked on
#4323by: justr4mzi (AMD Radeon RX 6700 XT), radv-tinker (AMD Radeon RX 9070 XT), sebashord (Windows 11 Pro build 26300.9974 with two), javdc (Steam Deck LCD), tylerstraub (RTX 5090), lukasas74 (RTX 5080), TG0000 (RX 6800), matheusfermiano-source (main 867d922)), zorde23 (RX 6750 XT), nicolasabosch (RTX 4070 Laptop GPU).No game files.
AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with
main.