mpi programming model without GPUDirect
I am using a GPU cluster without GPUDirect support. From this briefing, the following is done when transferring GPU data across nodes:
Now I am not sure whether the second step is an implicit step when I transfer sysmem1 across Infiniband using MPI. By assuming this, my current programming model is something like this:
Is my above assumption true and will my programming model work without causing communication issues?
Yes, you can use CUDA and MPI independently (ie without GPUDirect), just as you describe.
You might be interested in this presentation, which explains CUDA-aware MPI, and gives an example side-by-side on slide 11 of non-cuda MPI and CUDA-MPI
链接地址: http://www.djcxy.com/p/64620.html上一篇: 适用于Windows的RDMA CM
下一篇: 没有GPUDirect的mpi编程模型