tex1DFetch limit

What is the limit of the index when calling tex1Dfetch ?

How big texture can I bind?

I’m using a TESLA card and want to access 300MB x (32 bit) of data with tex1Dfetch, but got some strange results without any errors from CUDA.

thanks.

Programming guide (section A.1.1) says (2^27 - 1) elements. Looks like you should be fine.

If JacoCronje meant 300 MPixel texture rather than a texture of size 300 MB (which is the case if he is solving the TopCoder problem), then this limit is obviosly not enough to address such a texture.
And also that can explain why my code does not work on extremely huge data sets… What an annoying limitation!