Closed tlambert03 closed 1 year ago
Uhh, yes, this is a known issue, I never got to fixing it. The thing is, that old code is pretty awkward, and my plan was to switch reikna
to the the new library (https://github.com/fjarri/grunnur) that would replace cluda
and fix this and other issues. But I got pretty busy in the last year, and that just got pushed further to the future. I'll see if it can be fixed in the existing code.
nice! hadn't seen grunner yet... thanks for pointing me to it. No worries here, I'll dig into grunnur a bit.
Should be fixed by 0d4225f4dafd03b18bf50071ac29eb5eb705c31d
https://github.com/inducer/pyopencl/pull/509 broke reikna's
reikna.cluda.ocl.Array
subclass:so far so good... but using
__getitem__
or anything that callsArray. _new_with_changes
will cause an error in the constructor.Would it work to add
**kwargs
toreikna.cluda.ocl.Array.__init__
?