I bind two textures for data (float4, and int) and they work successful. but more textures (+2) data (float4, and int4) give me the wrong data when I’am trying to reading data from them .
Why is this ? What’s can be wrong ? tex1Dfetch for reading I’am use.
Yes, there are limits. Please consult appendix F of the CUDA 4.0 Programming Guide. For 1D textures accessed via tex1Dfetch() the limit is 2**27 elements, so when the element type is float4/int4/double2 one can cover up to 2GB of data with a single texture.
Thanks for the reply.2^27 elements is about 130 mil. Maybe that is the roblem of the original poster if he/she did use correctly the functions for handling the textures.