[PyCUDA] Correct context handling when mixing runtime and (PyCUDA) code?

Louis Theran theran at temple.edu
Sun Apr 18 06:09:35 PDT 2010


> I'm trying to mix some ctypes wrapped CUDA runtime C libraries with  
> PyCUDA.
>
> Even using CUDA 3.0, I am getting errors because PyCUDA seems to be  
> trying to push/pop the current context.
>
> From the docs, it's not quite clear what I have to do in this  
> regard. Any help from those of you successfully doing this would be  
> much appreciated.
>
> Thanks!
>
> ^L




More information about the PyCUDA mailing list