Why aren't there bank conflicts in global memory for Cuda/OpenCL?

前端 未结 3 1009
误落风尘
误落风尘 2021-01-30 15:06

One thing I haven\'t figured out and google isn\'t helping me, is why is it possible to have bank conflicts with shared memory, but not in global memory? Can there be bank confl

3条回答
  •  鱼传尺愫
    2021-01-30 15:46

    multiple threads accessing the same bank does not necessarily mean there is a bank conflict. There is a conflict if threads want to read at the same time from A DIFFERENT ROW within the same bank.

提交回复
热议问题