CUDA Texture Linear Filtering

后端 未结 1 805
抹茶落季
抹茶落季 2021-01-06 11:50

In the CUDA C Programming Guide Version 5, Appendix E.2 (Linear Filtering), it is stated that:

In this filtering mode, which is only available

相关标签:
1条回答
  • 2021-01-06 12:46

    It means that linear filtering is available only when the "read mode" of the texture is cudaReadModeNormalizedFloat, i.e. integer types (such as u8) get promoted to floating point values in the range [0.0, 1.0] (for unsigned integers) or [-1.0, 1.0] (for signed integers).

    0 讨论(0)
提交回复
热议问题