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
