Repository navigation
Add fabrics FI_HMEM support for CUDA grain payloads - #654
Open
thomastrue wants to merge 5 commits into
Open
thomastrue wants to merge 5 commits into
thomastrue wants to merge 5 commits into
Conversation
Introduce host/device payload allocators, flow-options payload location, and OpenGrain/GetGrain Ex APIs so discrete flows can back grains with cuda-linear device memory, including gst testsrc/sink paths. Signed-off-by: Thomas True <ttrue@nvidia.com>
thomastrue
force-pushed
the
feature/fabrics-cuda-hmem
branch
from
August 5, 2026 21:28
e16833e to
7181c8d
Compare
19 tasks
19 tasks
Readers on the same node can open the writer's cudaMalloc buffers on another device when peer access is available, with same-GPU and two-GPU example skeletons. Signed-off-by: Thomas True <ttrue@nvidia.com>
thomastrue
force-pushed
the
feature/fabrics-cuda-hmem
branch
from
September 27, 2026 14:55
7181c8d to
44bbccb
Compare
Move the CUDA allocator into libmxl-payload-cuda.so so libmxl can dlopen backends by name without linking cudart, while host and placeholder stay built in. Signed-off-by: Thomas True <ttrue@nvidia.com>
Advertise and require HMEM-capable verbs domains for device flows, register split host header + CUDA payload regions, and use process-local CUDA bounce buffers on egress when payloads are IPC-imported. Signed-off-by: Thomas True <ttrue@nvidia.com>
Each side keeps local cudaMalloc buffers and fabrics RDMA copies grains, with a same-machine rehearsal script and a two-pod skeleton. Signed-off-by: Thomas True <ttrue@nvidia.com>
thomastrue
force-pushed
the
feature/fabrics-cuda-hmem
branch
from
September 27, 2026 15:44
44bbccb to
a61be1b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MXL_FABRICS_IFACE_CAP_HMEMfor device grain flows on verbscudaMallocbuffers and fabrics RDMA copies grains (fabrics-cuda-two-domain.sh,kube-fabrics-cuda-two-domain.yaml)Stacked on #653 — this branch includes the CUDA grain-payload commits. Please merge #653 first; those commits drop out of this PR’s diff after that.
Test plan
mxl-fabrics-ofi-tests "[ofi]"(ProviderConfig HMEM cases)mxl-gst-testsrc(CUDA options) → initiator; confirm ~30 grains/s both sides/tmpis expected to fail MR pin on this host; use/dev/shmSRC_GPU=0 DST_GPU=0 ./examples/scripts/fabrics-cuda-two-domain.shon a verbs/HMEM NIC