einpoklum
einpoklum

Reputation: 131547

How do I copy 2D CUDA arrays/textures between contexts?

Suppose I want to copy some memory between different CUDA contexts (possibly on different devices). The CUDA Driver API offers me:

But 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

Answers (0)

Related Questions