Thread (128 messages) 128 messages, 11 authors, 2021-11-08

Re: [dpdk-dev] [PATCH] gpudev: introduce memory API

From: Thomas Monjalon <hidden>
Date: 2021-06-07 10:50:12

06/06/2021 03:10, Honnappa Nagarahalli:
quoted
The new library gpudev is for dealing with GPU from a DPDK application in a
vendor-agnostic way.
It would be good to explain how the application using GPU+DPDK would look like.
It can be anything to invent.
We can give few more words saying it is a computing done in parallel,
being either a loop or sequence of tasks. In both cases,
the DPDK application running on the CPU must be in control.
Which parts of the workload need DPDK's support?
Control:
- start task (by function or shared memory variable)
- get completion notification (most probably by shared memory)

We will add such requirements in v2.
Any requirements on co-existence of GPU with other accelerators?
It must be generic to allow any workload with any device.
quoted
As a first step, the features are focused on memory management.
A function allows to allocate memory inside the GPU, while another one
allows to use main (CPU) memory from the GPU.
Is this memory for packet buffers or something else?
Can be for packets or for control variables.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help