yep, that was it. ... let this be a lesson in the dangers of copy+paste ? I changed the data-types on the Python side but forgot to update the kernel signature. all is well now.
On Mon, Dec 21, 2009 at 12:06 PM, David Garcia <[email protected]> wrote: > I think the reason for the error when you call atom_inc is because variable > c is an array of floats and atomic operations are only defined for integer > types (see section 9.5 of the spec). > Cheers, > David > > 2009/12/15 Andreas Klöckner <[email protected]> >> >> On Dienstag 15 Dezember 2009, Michael Rule wrote: >> > cool, thanks. Is there documentation somewhere that indicated that? >> >> Not really. Just searching around. >> >> > I still >> > get an error which I do not fully understand when I try to use the >> > atomic >> > operation. >> >> No idea, sorry. >> >> Andreas >> >> _______________________________________________ >> PyOpenCL mailing list >> [email protected] >> http://tiker.net/mailman/listinfo/pyopencl_tiker.net >> > > _______________________________________________ PyOpenCL mailing list [email protected] http://tiker.net/mailman/listinfo/pyopencl_tiker.net
