You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression on main when allocating arrays of arrays #46
changed the title [-]Regression on master when allocating arrays of arrays[/-][+]Regression on main when allocating arrays of arrays[/+]on Dec 19, 2024
Activity
LegNeato commentedon Nov 4, 2024
@eddyb not sure if this will be fixed by your qptr stuff.
eddyb commentedon Nov 4, 2024
Is this the error you're seeing?
With my various changes I also get:
And with a full move to
qptr, something goes wrong withqptr.copy:(and I'm not getting the kind of SPIR-T errors I would expect, either).
02cd324 shouldn't have broken anything like this, but that code is subtle and I am not exactly surprised.
My best guess is that something is being ambiguous about wanting access to the whole inner
[_; 2]array, and instead it gets just the leaf field.LegNeato commentedon Nov 4, 2024
Yep, that's the error:
Add failing tests for Rust-GPU#46
Add failing tests for Rust-GPU#46
Add failing tests for #46 (#165)
[-]Regression on master when allocating arrays of arrays[/-][+]Regression on main when allocating arrays of arrays[/+]LegNeato commentedon Dec 26, 2024
Also happens with arrays of vecs, which is more common: #189
LegNeato commentedon Jan 21, 2025
Well, I am not smart enough / haven't cracked this yet. Spent a couple of hours on it.
Debug trace:
Details
Logging to track down Rust-GPU#46
Logging to track down Rust-GPU#46
Correctly calculate access chains for compound types
Correctly calculate access chains for compound types
Correctly calculate access chains for compound types