The different addressing modes of CUDA textures

后端 未结 2 1569
耶瑟儿~
耶瑟儿~ 2021-02-04 11:14

I am using a CUDA texture in border addressing mode (cudaAddressModeBorder). I am reading texture coordinates using tex2D(). When the text

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 11:42

    As of now (CUDA 5.5), the CUDA texture fetch behavior is not customizable. Only 1 of the 4 automatic built-in modes (i.e. Border, Clamp, Wrap and Mirror) can be utilized for out of range texture fetch.

提交回复
热议问题