Skip to content

Adding Net v12 / GIN v13 API Header#1195

Merged
hershys-aws merged 4 commits intoaws:masterfrom
hershys-aws:gin-v13-api
Apr 21, 2026
Merged

Adding Net v12 / GIN v13 API Header#1195
hershys-aws merged 4 commits intoaws:masterfrom
hershys-aws:gin-v13-api

Conversation

@hershys-aws
Copy link
Copy Markdown
Contributor

Description of changes:

  • Adds new net_v12 header from NCCL v2.30.3-1.
  • Updates net interface with new v12 API
  • Updates gin interface with new v13 API
  • Updates functional test to use new v13 API

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hershys-aws hershys-aws self-assigned this Apr 16, 2026
@hershys-aws hershys-aws changed the title Adding v12 Header/ GIN V13 API Adding v12 Header/ GIN v13 API Apr 16, 2026
@hershys-aws hershys-aws changed the title Adding v12 Header/ GIN v13 API Adding Net v12 / GIN v13 API Header Apr 16, 2026
Comment thread 3rd-party/nccl/cuda/include/nccl/net_v12.h Outdated
Comment thread src/rdma/gin/nccl_ofi_gin_api.cpp Outdated
Comment thread src/rdma/gin/nccl_ofi_gin_api.cpp Outdated
Comment thread src/nccl_ofi_interface_nvidia.cpp
Comment thread src/nccl_ofi_interface_nvidia.cpp
Comment thread tests/functional/gin.cpp
bwbarrett
bwbarrett previously approved these changes Apr 17, 2026
Comment thread src/nccl_ofi_interface_nvidia.cpp
Comment thread src/rdma/gin/nccl_ofi_gin_api.cpp
Comment thread src/rdma/gin/nccl_ofi_gin_api.cpp
Add net_v12.h header from NCCL v2.30.3-1 containing ncclNet_v12_t,
ncclNetProperties_v12_t, ncclNetCommConfig_v12_t, ncclGinConfig_v13_t,
ncclGin_v13_t, and supporting types. Include it from net.h.

Signed-off-by: Hershel Shah <hershys@amazon.com>
Add net v12 wrappers (init_v12, getProperties_v12, connect_v12) and
ncclNetPlugin_v12 export struct. Reuses listen_v11, accept_v9, regMr_v8,
finalize_v11, and other existing wrappers where signatures are compatible.
Add v12 to the NCCL_NET name fixup constructor.

getProperties_v12 fills the new railId and planeId fields with -1.

Signed-off-by: Hershel Shah <hershys@amazon.com>
anshumang
anshumang previously approved these changes Apr 20, 2026
Add v13 GIN API support. createContext passes collComm directly as
ginCtx (no wrapper struct needed since all state lives in put_comm).
destroyContext is a no-op; lifetime is owned by closeColl.

Add v13 wrappers for getProperties (ncclNetProperties_v12_t),
iput, and iputSignal which drop the context parameter and delegate
to the v11 implementation. ginProgress points directly to the v11
function since the signature is identical.

iget and iflush are stubbed as nullptr.

Signed-off-by: Hershel Shah <hershys@amazon.com>
Update gin.cpp to exercise the v13 GIN API: load ncclGinPlugin_v13,
use ncclNetProperties_v12_t for getProperties, call createContext /
destroyContext, and pass ginCtx to iput, iputSignal, and ginProgress.

Signed-off-by: Hershel Shah <hershys@amazon.com>
@hershys-aws hershys-aws merged commit 7330dcd into aws:master Apr 21, 2026
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants