3

I know that CUDA kernels can be "overlapped" by putting them into separate streams, but I'm wondering if would it be possible to transfer memory during kernel executions. CUDA kernels are asynchronous afterall

paulAl
  • 949
  • 2
  • 10
  • 17

2 Answers2

2

You can run kernels, transfers from host to device and transfers from device to host concurrently.

http://developer.download.nvidia.com/CUDA/training/StreamsAndConcurrencyWebinar.pdf

Roger Dahl
  • 15,132
  • 8
  • 62
  • 82
1

Just for clarification, the above are valid only if your device supports it. You can check it running device query and checking the attribute concurrent copy and execution

amanda
  • 394
  • 1
  • 9