|
|
|
|
|
by 01100011
1442 days ago
|
|
Sure, but pinned memory is often a limited resource and requires the GPU to issue PCI transactions. Depending on your needs, it's generally better to copy to/from the GPU explicitly, which can be done asynchronously, hiding the overhead behind other work to a degree. |
|
https://docs.nvidia.com/cuda/cuda-runtime-api/api-sync-behav...
Pinned memory is typically used to get around the synchronization aspects.