The different addressing modes of CUDA textures
I am using a CUDA texture in border addressing mode (cudaAddressModeBorder). I am reading texture coordinates using tex2D<float>(). When the texture coordinates fall outside the texture, tex2D<float>() returns 0. How can I change this returned border value from 0 to something else? I could check the texture coordinate manually and set the border value myself. … Read more