This PR adds the capability to pin host memory in golang bindings allowing data transfers to be quicker. Memory can be pinned once for multiple devices by passing the flag cuda_runtime.CudaHostRegisterPortable or cuda_runtime.CudaHostAllocPortable depending on how pinned memory is called
Describe the changes
This PR adds the capability to pin host memory in golang bindings allowing data transfers to be quicker. Memory can be pinned once for multiple devices by passing the flag
cuda_runtime.CudaHostRegisterPortable
orcuda_runtime.CudaHostAllocPortable
depending on how pinned memory is calledTODO
Linked Issues
Resolves #43