Implementation issue with alignment
In #117 (closed), @tj-sun writes:
I'm trying to add alignment to
ArrayBase
, but I'm seeing some weird error for pyopencl backend: this line keeps getting "index out of range" error. I can replicate this on master branch locally too, but I'm not sure why it is not showing up in Travis.It happens when both
storage_shape
andshape
areNone
for a temporary variable. I tried to bypass that by adding:if not storage_shape: new_temp_vars[temp_var.name] = temp_var.copy(storage_shape=storage_shape) continue
but that doesn't seem to be the expected behaviour for the test
test_loopy.py:test_atomic_load
.Any suggestion on what I'm doing wrongly here?
(Side note: I prefer if issues stay on a single topic and have moved your request to a new one. Alternatively, if you were using email to respond, just make sure to understand whether you email will end up in an issue log, and if so, which one.)