10.6_Texturing_with_Normalized_Coordinates
Figure 10.6 Texturing with normalized coordinates.

Figure 10.7 Texture addressing modes.
coordinates on each end. If you are having trouble visualizing the behavior of these addressing modes, check out the tex2d_openg1.cu microdemo in the next section.
IMPORTANT NOTE
In the driver API, changes to the texture reference are codified by the cuTexRefSetArray() or cuTexRefSetAddress() function. In other words, calls to functions that make state changes, such as cuTexRefSet-FilterMode() or cuTexRefSetAddressMode(), have no effect until the texture reference is bound to memory.
Floating-Point Coordinates with 1D Device Memory
For applications that wish to use floating-point coordinates to address the texture or use texturing features that are only available for normalized coordinates, use CUDABindTexture2D() / cuTexRefSetAddress2D() to specify the base address. Specify a height of 1 and pitch of N*sizeof(T). The kernel can then call tex2D(x, 0.0f) to read the 1D texture with floating-point coordinates.