On Sun, 15 Apr 2012 17:00:56 -0300, Ezequiel Alfíe <eal...@gmail.com> wrote: > 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
Should both be fixed. Thanks! Andreas
pgplnPnYDNbxl.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda