It appears to me there is a bug in pyopencl; both the latest version from pypi, and from visual inspection, the same error seems to appear in the latest github master branch.
array.reshape simply copies the strides of its parent array, while taking the new shape tuple. This does not give an error, but it does as soon as you try to do anything with said array, like printing it, when you get: "ValueError: mismatch in length of strides and shape". Perhaps this is not of priority due to an upcoming merge with the compyte code base, but if I may ask a noobish question; how do I go about trying out that branch? It does not seem to appear as a public one on github. Regards, Eelco
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
