[PATCH v5 1/2] gpudev: expose GPU memory to CPU

Thomas Monjalon thomas at monjalon.net
Thu Feb 10 16:12:18 CET 2022


27/01/2022 04:50, eagostini at nvidia.com:
> From: Elena Agostini <eagostini at nvidia.com>
> 
> Enable the possibility to expose a GPU memory area and make it
> accessible from the CPU.
> 
> GPU memory has to be allocated via rte_gpu_mem_alloc().
> 
> This patch allows the gpudev library to map (and unmap),
> through the GPU driver, a chunk of GPU memory and to return
> a memory pointer usable by the CPU to access the GPU memory area.
> 
> Signed-off-by: Elena Agostini <eagostini at nvidia.com>

Squashed and applied, thanks.





More information about the dev mailing list