another dumb question :
how do I pass a scalar argument to a kernel in pyopencl ?
-mrule


On Thu, Jan 14, 2010 at 11:54 AM, Michael Rule <[email protected]> wrote:
> enqueue_read_buffer
> enqueue_write_buffer
>
> is the answer.
>
> On Thu, Jan 14, 2010 at 11:49 AM, Michael Rule <[email protected]> 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 ?
>>
>> --mrule
>>
>

_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net

Reply via email to