Strided cudaMemCpy

This feels like a topic that would have been discussed already, but every time I try the search feature, I get a server error. So sorry if it’s redundant.

I am hoping for some way to perform a strided cudaMemCpy besides brute forcing it in a for loop with lots of small transfers. Any ideas?

This feels like a topic that would have been discussed already, but every time I try the search feature, I get a server error. So sorry if it’s redundant.

I am hoping for some way to perform a strided cudaMemCpy besides brute forcing it in a for loop with lots of small transfers. Any ideas?

cudaMemcpy2d can do this.

cudaMemcpy2d can do this.

And if you wonder how to search the forum, use Google with [font=“Courier New”]site:forums.nvidia.com[/font] added. I think nobody actually uses the forum’s search…

And if you wonder how to search the forum, use Google with [font=“Courier New”]site:forums.nvidia.com[/font] added. I think nobody actually uses the forum’s search…