Sorry for the stupid question: I found what I was looking for in teh Sobel
filter example.

On Thu, Jun 21, 2012 at 8:09 PM, marmaduke <d...@eml.cc> wrote:

> Hi
>
> I have been trying to get started with the glinterop.py example on the
> wiki (using pycuda 2011.2.2 built from git), but it produces
>
> File "GlInterop.py", line 153, in process
>    dest_mapping.device_ptr())
> File "/usr/local/lib/python2.6/dist-packages/pycuda-2011.2.2-
> py2.6-linux-x86_64.egg/pycuda/driver.py",
> line 429, in function_prepared_call
>    func.param_set_texref(texref)
>
> ArgumentError: Python argument types in
>     Function.param_set_texref(Function, int)
> did not match C++ signature:
>     param_set_texref(pycuda::function {lvalue}, pycuda::texture_reference)
>
>
> along with several DeprecationWarnings. Has anyone recently had better
> success with Py{GL, CUDA} integration?
>
> I did try modifying the C++ param_set_texref to take an int, cast it
> as a reference but that lead only to segfaults..
>
>
> Thanks,
> Marmaduke
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to