On Thu, 13 Dec 2012 17:55:52 -0500 Ajay Shah <[email protected]> wrote:
> I was wondering how to store variables inside of a gpu's memory and then > modify them each time a kernel is run. what would that look like inside of a > kernel code? Use a buffer: it is attached to a context. Every kernel running in that context can have access to it... and modify it. my answer is so trivial that it probably means I did not understand the question ; nevertheless I hope it helps. -- Jérôme Kieffer On-Line Data analysis / Software Group ISDD / ESRF tel +33 476 882 445 _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
