[PyOpenCL] how to set device buffer contents after creation ?
mrule7404 at gmail.com
Thu Jan 14 10:00:00 PST 2010
answer: thats probably not really the cause of the bug I am seeing
On Thu, Jan 14, 2010 at 12:33 PM, Michael Rule <mrule7404 at gmail.com> wrote:
> another dumb question :
> how do I pass a scalar argument to a kernel in pyopencl ?
> On Thu, Jan 14, 2010 at 11:54 AM, Michael Rule <mrule7404 at gmail.com> wrote:
>> is the answer.
>> On Thu, Jan 14, 2010 at 11:49 AM, Michael Rule <mrule7404 at gmail.com> wrote:
>>> this seems like a stupid question but :
>>> I am trying to port a PyCUDA project to PyOpenCL, and can't find the
>>> equivalent to "memcpy_htod" and "memcpy_dtoh" in PyOpenCL. I need to
>>> be able to modify the contents of a device buffer from the host after
>>> the device buffer has been initialized. Is this possible ?
More information about the PyOpenCL