From: <eagostini@nvidia.com>
To: <dev@dpdk.org>
Cc: Elena Agostini <eagostini@nvidia.com>
Subject: [PATCH v1 0/3] GPU memory aligned
Date: Tue, 4 Jan 2022 01:47:18 +0000 [thread overview]
Message-ID: <20220104014721.1799-1-eagostini@nvidia.com> (raw)
From: Elena Agostini <eagostini@nvidia.com>
Applications may need to allocate GPU memory buffers
with memory address aligned to some value
(e.g. page size).
Similarly to the rte_malloc function, aligned size
can be provided as input to rte_gpu_mem_alloc.
This set of patches implements this functionality
in the gpudev library and the GPU CUDA driver.
Elena Agostini (3):
gpudev: mem alloc aligned memory
app/test-gpudev: test aligned memory allocation
gpu/cuda: mem alloc aligned memory
app/test-gpudev/main.c | 13 ++++++++++---
drivers/gpu/cuda/cuda.c | 21 ++++++++++++++++-----
lib/gpudev/gpudev.c | 10 ++++++++--
lib/gpudev/gpudev_driver.h | 2 +-
lib/gpudev/rte_gpudev.h | 10 +++++++---
5 files changed, 42 insertions(+), 14 deletions(-)
--
2.17.1
next reply other threads:[~2022-01-03 17:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-04 1:47 eagostini [this message]
2022-01-04 1:47 ` [PATCH v1 1/3] gpudev: mem alloc aligned memory eagostini
2022-01-04 1:47 ` [PATCH v1 2/3] app/test-gpudev: test aligned memory allocation eagostini
2022-01-04 1:47 ` [PATCH v1 3/3] gpu/cuda: mem alloc aligned memory eagostini
2022-01-03 18:05 ` Stephen Hemminger
2022-01-03 18:15 ` Elena Agostini
2022-01-03 18:17 ` Stephen Hemminger
2022-01-03 18:22 ` Elena Agostini
2022-01-08 0:20 ` [PATCH v2 1/3] gpudev: " eagostini
2022-01-08 0:20 ` [PATCH v2 2/3] app/test-gpudev: test aligned memory allocation eagostini
2022-01-08 0:20 ` [PATCH v2 3/3] gpu/cuda: mem alloc aligned memory eagostini
2022-01-21 10:34 ` [PATCH v2 1/3] gpudev: " Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220104014721.1799-1-eagostini@nvidia.com \
--to=eagostini@nvidia.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.