[PyCuda] async memcpy
ntung at ntung.com
Wed Mar 11 18:44:26 PDT 2009
On Wed, Mar 11, 2009 at 16:56, Andreas Klöckner <lists at informa.tiker.net>wrote:
> On Mittwoch 11 März 2009, you wrote:
> > Hi Andreas,
> > For asynchronous memory copies, what do I use to load data to a
> > page-locked array?
> > Does page_locked[:] = original[:] work?
> That should do it. Even if it comes out pagelocked_something(), it's just a
> plain old numpy array, just in special memory.
Thanks. However, when I try to do any GPU operations on separate threads, I
"LogicError: cuStreamCreate failed: invalid context"
Is this avoidable?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyCUDA