CUDA 2 constant memory access versus 1 access and 1 division and 1 modulo, which is better?

前端 未结 0 1813
再見小時候
再見小時候 2020-11-28 17:20

So, in my problem, I need to read a kind of rowOffset and colOffset. The formula is:

index = rowOffset * size + colOffset

相关标签:
回答
  • 消灭零回复
提交回复
热议问题