Have any of you worked with 3d surfaces before?

I didn't found examples on the wiki using 3d surface memory (nor
surface references at all).

While trying to bind a surface to an array I get the following:

Boost.Python.ArgumentError: Python argument types in
    SurfaceReference.set_array(SurfaceReference, Array)
did not match C++ signature:
    set_array(pycuda::surface_reference {lvalue},
pycudaboost::shared_ptr<pycuda::array>, unsigned int)

PS:
I added the following line to SourceModule.__init__(...):

self.get_surfref = self.module.get_surfref


Thanks in advance,
Ezequiel

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to