On Wed, Mar 11, 2009 at 16:56, Andreas Klöckner <[email protected]>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.
>
> Andreas


Thanks. However, when I try to do any GPU operations on separate threads, I
get [e.g.]
"LogicError: cuStreamCreate failed: invalid context"

Is this avoidable?

Thanks,
Nicholas
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to