Registering Mapped Linux Character Device Memory with cudaHostRegister Results in Invalid Argument

后端 未结 1 1249
情深已故
情深已故 2021-01-25 07:08

I\'m trying to boost DMA<->CPU<->GPU data transfer by: 1. Mapping my (proprietary) device Linux Kernel allocated memory to user space 2. Registering the later (mapped memo

相关标签:
1条回答
  • 2021-01-25 07:42

    Made it work!

    • The full answer may be found in: https://devtalk.nvidia.com/default/topic/1014391/cuda-programming-and-performance/registering-mapped-linux-character-device-memory-with-cudahostregister-results-in-invalid-argument/?offset=3#5174771
    • There is a problem with memory chunks longer than 2 pages (> 8K) working with Cuda...

    Thanks, Yoel.

    0 讨论(0)
提交回复
热议问题