GPU library
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest9 patches 1 replyIn review
- v49 patches 0 repliesSuperseded
- v39 patches 17 repliesSuperseded
Changelog from the cover letter
- Patches updated to latest DPDK commit
- Communication list item has an array of mbufs instead of opaque objects
- Communication list free doesn't release mbufs anymore
- Fixed styling reported by checkpatch
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | gpudev: introduce GPU device class library.gitignore MAINTAINERS app/ +19 more | +722 | 0 replies | |
| 2/9 | gpudev: add event notificationlib/ lib/ lib/ +1 more | +228 | 0 replies | |
| 3/9 | gpudev: add child device representing a device contextdoc/ lib/ lib/ +2 more | +123 | 0 replies | |
| 4/9 | gpudev: support multi-processlib/ lib/ lib/ | +127 | 0 replies | |
| 5/9 | gpudev: add memory APIapp/ doc/ doc/ +5 more | +340 | 0 replies | |
| 6/9 | gpudev: add memory barrierdoc/ lib/ lib/ +2 more | +49 | 0 replies | |
| 7/9 | gpudev: add communication flagapp/ doc/ doc/ +3 more | +278 | 0 replies | |
| 8/9 | gpudev: add communication listapp/ doc/ doc/ +4 more | +411 | 0 replies | |
| 9/9 | doc: add CUDA example in GPU guidedoc/ | +122 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [dpdk-dev] [PATCH v5 0/9] GPU library
From: Elena Agostini <[email protected]>
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The goal of this new library is to enhance the collaboration between DPDK, that's primarily a CPU framework, and GPU devices.
When mixing network activity with task processing on a non-CPU device, there may be the need to put in communication the CPU with the device in order to manage the memory, synchronize operations, exchange info, etc..
This library provides a number of new features:
- Interoperability with GPU-specific library with generic handlers
- Possibility to allocate and free memory on the GPU
- Possibility to allocate and free memory on the CPU but visible from the GPU
- Communication functions to enhance the dialog between the CPU and the GPU
The infrastructure is prepared to welcome drivers in drivers/gpu/ as the CUDA one:
http://patches.dpdk.org/project/dpdk/cover/[email protected]
Changelog:
- Patches updated to latest DPDK commit
- Communication list item has an array of mbufs instead of opaque objects
- Communication list free doesn't release mbufs anymore
- Fixed styling reported by checkpatch
Elena Agostini (6):
gpudev: introduce GPU device class library
gpudev: add memory API
gpudev: add memory barrier
gpudev: add communication flag
gpudev: add communication list
doc: add CUDA example in GPU guide
Thomas Monjalon (3):
gpudev: add event notification
gpudev: add child device representing a device context
gpudev: support multi-process
.gitignore | 1 + MAINTAINERS | 6 + app/meson.build | 1 + app/test-gpudev/main.c | 367 ++++++++++ app/test-gpudev/meson.build | 5 + doc/api/doxy-api.conf.in | 1 + doc/guides/conf.py | 8 + doc/guides/gpus/features/default.ini | 13 + doc/guides/gpus/index.rst | 11 + doc/guides/gpus/overview.rst | 10 + doc/guides/index.rst | 1 + doc/guides/prog_guide/gpudev.rst | 226 +++++++ doc/guides/prog_guide/index.rst | 1 + doc/guides/rel_notes/release_21_11.rst | 6 + drivers/gpu/meson.build | 4 + drivers/meson.build | 1 + lib/gpudev/gpudev.c | 901 +++++++++++++++++++++++++ lib/gpudev/gpudev_driver.h | 102 +++ lib/gpudev/meson.build | 12 + lib/gpudev/rte_gpudev.h | 649 ++++++++++++++++++ lib/gpudev/version.map | 38 ++ lib/meson.build | 1 + 22 files changed, 2365 insertions(+) create mode 100644 app/test-gpudev/main.c create mode 100644 app/test-gpudev/meson.build create mode 100644 doc/guides/gpus/features/default.ini create mode 100644 doc/guides/gpus/index.rst create mode 100644 doc/guides/gpus/overview.rst create mode 100644 doc/guides/prog_guide/gpudev.rst create mode 100644 drivers/gpu/meson.build create mode 100644 lib/gpudev/gpudev.c create mode 100644 lib/gpudev/gpudev_driver.h create mode 100644 lib/gpudev/meson.build create mode 100644 lib/gpudev/rte_gpudev.h create mode 100644 lib/gpudev/version.map
Signature · 1 line
2.17.1