On Mon, Dec 12, 2011 at 3:44 PM, Yifei Li <[email protected]> wrote: > My input data is a 3D grid and at each grid point there is a 3d vector, so I > decided to use a 3D texture with number of channels set to 3.
Three-channel data is not supported here. You can use four channels, padding your data on the host and ignoring the fourth channel in the returned texel on the device. http://developer.download.nvidia.com/compute/DevZone/docs/html/C/doc/html/group__CUDA__MEM_gc2322c70b38c2984536c90ed118bb1d7.html Steve _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
