Reputation: 131547
Suppose I want to copy some memory between different CUDA contexts (possibly on different devices). The CUDA Driver API offers me:
cuMemcpyPeer
- for plain old device global memorycuMemcpy3DPeer
- for 3D arrays/texturesBut there doesn't seem to be a similar API function for 2D arrays. Why? And - what do I do? Should I go through plain global memory buffers in both contexts?
PS - Same question for asynchronous copies; we have the plain and 3D cases covered, but no 2D.
Upvotes: 1
Views: 79