mbox

[v3,0/1] gpu/cuda: introduce CUDA driver

Message ID 20211109022806.9224-1-eagostini@nvidia.com (mailing list archive)
Headers

Message

Elena Agostini Nov. 9, 2021, 2:28 a.m. UTC
  From: Elena Agostini <eagostini@nvidia.com>

This is the CUDA implementation of the gpudev library.
Funcitonalities implemented through CUDA Driver API are:

- Device probe and remove
- Manage device memory allocations
- Register/unregister external CPU memory in the device memory area

Changelog:
- CUDA driver implementation of the GPU write memory barrier
- Fixed styling reported by checkpatch

Elena Agostini (1):
  gpu/cuda: introduce CUDA driver

 doc/guides/gpus/cuda.rst     | 110 +++++
 doc/guides/gpus/index.rst    |   1 +
 drivers/gpu/cuda/cuda.c      | 801 +++++++++++++++++++++++++++++++++++
 drivers/gpu/cuda/meson.build |  13 +
 drivers/gpu/cuda/version.map |   3 +
 drivers/gpu/meson.build      |   2 +-
 6 files changed, 929 insertions(+), 1 deletion(-)
 create mode 100644 doc/guides/gpus/cuda.rst
 create mode 100644 drivers/gpu/cuda/cuda.c
 create mode 100644 drivers/gpu/cuda/meson.build
 create mode 100644 drivers/gpu/cuda/version.map