cuda.TextureReference.set_array(tex_ref, cu_array) -> tex_ref.set_array(cu_array)
I missed that this is actually a member function. Better call it
directly to make it also work with cuda.SurfaceReference
.
I missed that this is actually a member function. Better call it
directly to make it also work with cuda.SurfaceReference
.