Repository navigation
Shaders: use console flow for masks read as data - #13
mohammadallami75-ops wants to merge 1 commit into
Conversation
|
Both CI Clippy commands passed at AI. |
|
Thank you for splitting it so quickly. I had started on the same part from your original diff before these arrived, and measuring it turned up something that changes what part 1 has to be, so here is where it stands. Your rule here covers one of the two faulty shapes. And the fault is wider than wave64. The wave32 form of the same loop (32 threads, What I committed on the branch (
Measured (local title data, offline, CPU only, counts only): no program changes outcome for a 32-lane or a 32-64 host except three that get past the mask and name their next blocker. The rule fires for about 400 compute programs on a 32-64 host and about 300 on a 32-lane host (all wave32 there). Your simpler rule would fire for about 160 and miss the held masks. So I would close this one in favour of what is on the branch, unless you see a case mine misses. The four scalar fixtures you kept ignored belong with #14, which I will measure next as you asked ( AI-assisted (Claude Code). |
|
Thanks for checking both wave sizes and catching the zero-seeded loop case. I verified that AI-assisted. |
Part 1 of the scalar-state review. This routes compute mask data reads through console flow on hosts that run the console wave size and retains the lowering fallback. It includes all seven original fixtures. Four scalar-detection tests are temporarily ignored until Part 2.
The RTX 2080 SUPER returned 64 for the loop exit mask and 32 for the branch-grown mask in every lane. The split suite passed with 35 passed and 4 ignored.
AI.