Hi Nicolas, On Mon, 20 Sep 2010 18:21:28 +0200, Nicolas Barbey <nicolas.a.bar...@gmail.com> wrote: > Thanks for this great package which ease so much the use of cuda ! > I think I found out a small bug in the current git version of the code. > If you run the following code in ipython : > > >>> from pycuda import autoinit > >>> from pycuda import driver, compiler, gpuarray, tools > >>> a = gpuarray.ones(16, dtype=float32) > >>> a += 1
Thanks for the patch/report. Fixed in pycuda and pyopencl git. I didn't use your patch because 'return self.__iadd__(-other)' results in two kernel invocations vs. 1 for the way sub is currently implemented. Andreas
pgpuNFnrlj9S6.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda