Repository navigation
tests: GPU fixture cs_w32_lds_add_f32 for ds_add_f32 and ds_add_rtn_f32 (OLD-9911) - #862
TanmaySatyam wants to merge 2 commits into
Conversation
|
Tested 4107e54 on NVIDIA GeForce RTX 3080 Ti Laptop (Ampere), NVIDIA 621.24, Vulkan 1.4.357, Windows 11 Pro (build 26300), native Windows: pass Built at this head with
|
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.
4107e54 to
8dc89da
Compare
|
GPU test on an NVIDIA Ada card, for the record: this passes on an RTX 4090.
Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on |
Claimed in the coordination issue as: OLD-9911
Summary
Carries forward
old-pr/9911(carried-over draft #176) onto currentmain(f3e26be7c), preserving the original author's (Luiz Neves) two commits:GPU test cs_w32_lds_add_f32: ds_add_f32 and ds_add_rtn_f32test_lds_add_f32_fixture: runs under python -I; the double sum is exact for these inputs onlyRebase adjustments
runtime/test/shaders/check.pyandscripts/run_gpu_tests.pyagainst currentmain.main's dynamictests/semantic/regen_fixtures.pyand added the; regen_fixtures: this source has a translator fixture in tests/semantic/fixtures/disasmmarker line toruntime/test/shaders/cs_w32_lds_add_f32.asm.Testing & Hardware Verification
python -I scripts/check_no_game_data.pyclean on all touched files).LEONIDA_VK_VALIDATION=1,VKC_SUBGROUP_SIZE=32).runtime/test/shaders/build.py+vk_compute_test.exe cs_w32_lds_add_f32.spv 1 dump):[0x3FC00000, 0x40700000, 0x4B800000, 0x4B800002, 0, 0x7F800000, 0x3E800000, 0x40200000]with 0 mismatches and 0 Vulkan validation errors.python -I tests/semantic/test_lds_add_f32_fixture.py -v: 4/4 OKpython -I tests/test_regen_fixtures.py: 7/7 OKpython -I tests/test_text_write_line_endings.py: 3/3 OK