upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorDiazE117 <230450176+DiazE117@users.noreply.github.com>2026-11-21 16:36:35 -0600
committerDiazE117 <230450176+DiazE117@users.noreply.github.com>2026-11-21 16:53:07 -0600
commit6005d7e2f0371e4849166fc6604945a5b98175ad (patch)
tree3a510998246606e531b2006fbd4806a1e0962c40 /runtime/src/main.cpp
parent55f8387f9832570b637dd084abba717894256394 (diff)
tests: eight more wave64 mask and vote GPU tests across 64 lanes on the CPU
run_workgroup now steps every invocation one instruction per round, so a load after a store sees all lanes' stores as in a SIMD wave (cs_w64x_load_ ballot_load read a later store before), allows a partial last subgroup, and answers OpGroupNonUniformAny, All and BitwiseOr Reduce; BallotFindLSB, IAddCarry and UGreaterThan are per lane. A shuffle from a lane that is not running is an undefined value. test_wave64_subgroup_ops runs cs_w64x_ballot, _readfirstlane, _load_ballot_load, _partial, cs_wave64_ballot, cs_wm_bfm64, cs_wm_half_cmp and cs_wavemask without --wave64-emulate: - one 64-wide subgroup: every word equals check.py (cs_wavemask: all 64 lanes); - two 32-wide subgroups: the pinned words equal what an RTX 4070 SUPER (driver 610.88) wrote, three runs each; cs_wavemask 64 mismatches with lane 0 = 0x00081021 on both; - removing 21cef25's ballot guard makes cs_w64x_partial use an undefined value. 403 semantic tests pass (397 before). AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions