不同warp中的线程同时访问一个bank中不同地址会有冲突吗

78 阅读1分钟

Question is :I’m using shared memory ,my kernel will have threads in different warps write different addresses in the same bank (but threads in the same warp write different banks),will this cause bank conflict?

answer:No, bank conflicts do not occur between warps. Likewise there is no opportunity for coalescing across different warps. The memory controller(s) deal with coalescing or shared memory on a per-warp-instruction basis. Requests emanating from different “warp-instructions” are not aggregated for the purposing of determining bank conflicts or coalescing behavior.

forums.developer.nvidia.com/t/cc5-0-wil…