Hi folks, I did the following to bind a gpuarray to a 3D texture with multiple channels:
a_gpu = gpuarray.to_gpu(np.random.randn(d, h, w, 4).astype(np.float32)) a_gpu.bind_to_texref_ext(mytex, channels=4) And I got all zeros when the values in texture were printed However, if I change the 3D texture to a 1D texture with the same number of channels, the values in the 1D texture are correct. Does bind_to_texref_ext only works with 1D textures? Thanks Yifei
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
