I’ve read that 2D textures are limited to 64K x 32K elements.
However, if I read texture values into N x 8 2D CUDA array, bind it to a 2D texture, and do a look-up, the results are not correct when N > 8K. The same code works fine in emulation mode and when N < 8K.
Any ideas what might be going wrong here?