Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/nccl
/ functions
Functions
5,323 in github.com/NVIDIA/nccl
⨍
Functions
5,323
◇
Types & classes
3,783
↳
Endpoints
1
↓ 267 callers
Function
min
Define min for ssize_t
src/device/common_kernel.h:21
↓ 162 callers
Function
max
plugins/profiler/inspector/json.cc:209
↓ 135 callers
Method
empty
src/graph/topo.cc:1100
↓ 134 callers
Function
rasOutAppend
Appends a printf-formatted string to the output buffer. Unlike with INFO or WARN messages, the caller should terminate lines with '\n' as appropriate.
src/ras/client_support.cc:1735
↓ 130 callers
Function
loadConst
src/include/nccl_device/utility.h:413
↓ 125 callers
Function
ncclSocketToString
Format a string representation of a (union ncclSocketAddress *) socket address using getnameinfo() * * Output: "IPv4/IPv6 address<port>" */
src/misc/socket.cc:160
↓ 120 callers
Method
get
contrib/nccl_checkpoint/kv_store_client.cc:248
↓ 72 callers
Method
elts
Element access via reinterpret_cast
src/include/nccl_device/impl/vector__types.h:43
↓ 67 callers
Function
jsonKey
Emit a key and separator. Santize the key. This is only acceptable if the top state is an object Emit a ',' separator of we aren't the first item.
plugins/profiler/inspector/json.cc:264
↓ 65 callers
Function
idivRcp64
src/include/nccl_device/utility.h:223
↓ 64 callers
Function
clockNano
src/include/utils.h:66
↓ 61 callers
Function
ncclIntruQueueEnqueue
src/include/utils.h:396
↓ 58 callers
Function
ncclIntruQueueEmpty
src/include/utils.h:381
↓ 55 callers
Function
gettime
plugins/profiler/example/plugin.cc:59
↓ 55 callers
Function
ncclIntruQueueDequeue
src/include/utils.h:410
↓ 54 callers
Method
sync
src/include/nccl_device/impl/barrier__funcs.h:84
↓ 52 callers
Method
create_tensor
Create a SymmTensor using memory from the pool. Args: shape: Tensor shape (visible element dimensions). dtype: Elemen
contrib/nccl_ubx/ubx/allocator.py:424
↓ 52 callers
Function
ncclIntruQueueHead
src/include/utils.h:386
↓ 52 callers
Method
thread_rank
src/include/nccl_device/coop.h:31
↓ 51 callers
Method
load
src/device/reduce_kernel.h:1250
↓ 50 callers
Function
ncclTypeSize
src/include/collectives.h:44
↓ 46 callers
Function
ncclGetEnv
src/misc/param.cc:108
↓ 44 callers
Function
_to_ptr
Coerce ``x`` to an ``!llvm.ptr`` ir.Value. Args: x: accepted forms — * ``!llvm.ptr`` ir.Value — passthrough. * `
bindings/nccl4py/nccl/core/device/cute/_helpers.py:72
↓ 44 callers
Method
init
Initializes a new NCCL communicator. Creates a communicator that connects multiple ranks. This is a collective operation: all ranks m
bindings/nccl4py/nccl/core/communicator.py:317
↓ 44 callers
Function
run_distributed_test
Launch a distributed test script with the appropriate launcher. Args: script: Path to the worker script. num_procs: Number of pro
contrib/nccl_ubx/tests/distributed/conftest.py:30
↓ 43 callers
Function
xmlGetAttr
src/graph/xml.h:97
↓ 41 callers
Function
divUp
src/include/bitops.h:62
↓ 40 callers
Function
_ffi
``cute.ffi`` with ``source=_BC`` injected on every prototype. The DSL pipeline merges the bitcode into each module's ``link-libraries`` attri
bindings/nccl4py/nccl/core/device/cute/_helpers.py:53
↓ 40 callers
Function
ncclCudaFree
src/include/alloc.h:556
↓ 40 callers
Function
ncclSocketClose
src/os/linux.cc:526
↓ 39 callers
Function
ncclCuMemEnable
src/misc/cudawrap.cc:47
↓ 38 callers
Method
_check_valid
Raises if the communicator is not initialized. Args: operation: Name of the operation being attempted (for the error
bindings/nccl4py/nccl/core/communicator.py:262
↓ 37 callers
Method
size
src/include/nccl_device/coop.h:35
↓ 36 callers
Function
emitln
(f, lines)
src/device/symmetric/generate.py:34
↓ 34 callers
Function
nccl_wait_comms
(comms, timeout_s: float = 30.0)
contrib/nccl_checkpoint/python/tests/test_unittest.py:230
↓ 33 callers
Function
xmlSetAttr
src/graph/xml.h:228
↓ 32 callers
Method
device
CUDA device associated with this communicator. Returns a :py:class:`cuda.core.Device` providing additional functionality such as ``to
bindings/nccl4py/nccl/core/communicator.py:799
↓ 32 callers
Method
find
contrib/nccl_checkpoint/shim_core.h:295
↓ 32 callers
Function
xmlGetAttrInt
src/graph/xml.h:112
↓ 30 callers
Function
alignUp
src/include/bitops.h:77
↓ 30 callers
Method
end
src/include/param/parser_common.h:79
↓ 30 callers
Function
jsonUint64
Write an integer value
plugins/profiler/inspector/json.cc:409
↓ 29 callers
Function
debugEvent
plugins/profiler/example/print_event.cc:260
↓ 29 callers
Function
xmlSetAttrInt
src/graph/xml.h:270
↓ 28 callers
Function
PtrCheck
src/misc/argcheck.cc:30
↓ 28 callers
Function
ncclOsDlsym
src/os/linux.cc:60
↓ 27 callers
Function
ncclTopoConnectNodes
src/graph/topo.cc:168
↓ 27 callers
Method
split
Splits this communicator into sub-communicators based on color values. Ranks that pass the same ``color`` value will be part of the same
bindings/nccl4py/nccl/core/communicator.py:452
↓ 27 callers
Method
store
src/device/prims_ll.h:178
↓ 26 callers
Method
allreduce
Auto-selects best allreduce variant based on total tensor size.
contrib/nccl_ubx/ubx/allocator.py:656
↓ 26 callers
Function
benchMpiWorld
contrib/nccl_m2n/benchmarks/bench_common.h:142
↓ 26 callers
Method
count
Number of elements in the buffer.
bindings/nccl4py/nccl/core/buffer.py:147
↓ 26 callers
Function
ncclCudaGraphNone
src/include/strongstream.h:39
↓ 26 callers
Function
ncclSocketProgress
src/misc/socket.cc:604
↓ 26 callers
Function
xmlGetAttrIndex
src/graph/xml.h:85
↓ 25 callers
Function
as_devcomm
Reinterpret a Python-side integer (devcomm_handle / window_handle / raw device pointer) into the proper C type. The Phase 3 ABI passes every pointer-s
contrib/nccl_ubx/csrc/bindings.cpp:24
↓ 25 callers
Function
as_window
contrib/nccl_ubx/csrc/bindings.cpp:27
↓ 24 callers
Method
data
Device buffer address.
bindings/nccl4py/nccl/ep/tensor.py:144
↓ 24 callers
Function
resolveRealFunction
contrib/nccl_checkpoint/shim_core.h:132
↓ 24 callers
Method
skip
(self)
contrib/nccl_checkpoint/gen_shim.py:117
↓ 24 callers
Method
tensor
Construct a ``cute.Tensor`` view over the registered buffer. Canonical input to :meth:`Gin.put`: byte offset (relative to the window)
bindings/nccl4py/nccl/core/device/cute/comm.py:204
↓ 24 callers
Method
view
Returns a new SymmTensor view with the same backing memory but different shape. Handles -1 inference manually without temporary tenso
contrib/nccl_ubx/ubx/tensor.py:112
↓ 23 callers
Function
SaveProxy
src/proxy.cc:578
↓ 23 callers
Function
compute_token_offsets
Compute slot assignments for a2av_token_bf16_mxfp8 from a routing matrix. Tokens are block-distributed: rank r owns global token rows [r * lo
contrib/nccl_ubx/ubx/ops.py:201
↓ 23 callers
Method
get
src/include/nccl_device/impl/gin__funcs.h:903
↓ 23 callers
Function
ncclProxyCallBlocking
src/proxy.cc:1425
↓ 23 callers
Function
ncclSocketToHost
Converts the IP number of a NCCL address to a string (the port part is ignored and no DNS resolution is attempted).
src/ras/client_support.cc:2083
↓ 23 callers
Function
rasSocketTerminate
Handles the termination of a RAS socket. We try to do it in stages for established sockets (in READY state). We shut down just the sending side for t
src/ras/rasnet.cc:506
↓ 23 callers
Method
sync
src/include/nccl_device/coop.h:39
↓ 22 callers
Function
inspectorUnlockRWLock
plugins/profiler/inspector/inspector.cc:272
↓ 22 callers
Function
ncclSocketInit
src/misc/socket.cc:560
↓ 22 callers
Function
xmlAddNode
src/graph/xml.h:353
↓ 21 callers
Function
CommCheck
src/misc/argcheck.cc:38
↓ 21 callers
Method
connect
contrib/nccl_checkpoint/kv_store_client.cc:131
↓ 21 callers
Method
finalize
Finalizes the communicator, flushing uncompleted operations and network resources. Typically called before :py:meth:`destroy` to ensure all o
bindings/nccl4py/nccl/core/communicator.py:697
↓ 21 callers
Function
log
(rank, msg)
contrib/nccl_ubx/tests/distributed/_workers/_run_alltoall_lamport_hang.py:52
↓ 21 callers
Function
ncclMemFree
src/allocator.cc:110
↓ 20 callers
Function
_finalize_and_destroy
(comm)
contrib/nccl_checkpoint/python/tests/test_unittest.py:318
↓ 20 callers
Function
ncclIntruQueueConstruct
src/include/utils.h:375
↓ 20 callers
Method
wait
src/include/nccl_device/impl/gin__funcs.h:877
↓ 20 callers
Function
xmlGetAttrIntDefault
src/graph/xml.h:119
↓ 19 callers
Function
checkAbort
src/device/primitives.h:154
↓ 19 callers
Function
cvta_to_global
src/device/op128.h:68
↓ 19 callers
Function
get_stream_ptr
Resolves a stream specification to its raw stream handle (as int). Args: stream: A Stream instance, an integer stream handle, an object
bindings/nccl4py/nccl/core/cuda.py:106
↓ 19 callers
Function
ncclMemoryPoolFree
src/include/utils.h:350
↓ 18 callers
Function
_tensor_create
Wrap ncclEpTensorCreate (mirrors helper in upstream ep_test.py).
contrib/nccl_ubx/bench/ubx_bench/collectives/a2av_token_dispatch.py:418
↓ 18 callers
Method
close
Release the NCCL pool, window, devcomm, and bootstrapped comm. Tears down in the correct order: dev_comm → window → buffer free → boo
contrib/nccl_ubx/ubx/allocator.py:314
↓ 18 callers
Method
get_unique_id
Returns a per-communicator unique ID for use with :py:meth:`grow`. Generates a unique identifier bound to this communicator that can be
bindings/nccl4py/nccl/core/communicator.py:557
↓ 18 callers
Function
inspectorLockWr
plugins/profiler/inspector/inspector.cc:264
↓ 18 callers
Function
ncclCommEnsureReady
src/init.cc:422
↓ 18 callers
Function
ncclMemAlloc
src/allocator.cc:17
↓ 18 callers
Function
ncclNvmlEnsureInitialized
src/misc/nvmlwrap.cc:71
↓ 18 callers
Function
tensor_ptr
Validate that a non-null tensor pointer points at an initialised descriptor. Returns the pointer unchanged when null (absent / optional field). Aborts
contrib/nccl_ep/nccl_ep.cc:216
↓ 18 callers
Function
xmlGetAttrStr
src/graph/xml.h:104
↓ 17 callers
Method
_validate_buffer_device
Validates that the buffer is on the same device as the communicator. Args: buffer: Resolved buffer to validate. buffe
bindings/nccl4py/nccl/core/communicator.py:275
↓ 17 callers
Function
bootstrapAllGather
src/bootstrap.cc:1194
↓ 17 callers
Function
compute_bandwidth
Compute algorithm and bus bandwidth matching nccl-tests formulas. Returns: (algBw_GB/s, busBw_GB/s)
contrib/nccl_ubx/bench/ubx_bench/report.py:23
↓ 17 callers
Function
fmtSizes
contrib/nccl_m2n/src/reshard_prepare.cc:32
↓ 17 callers
Function
log_jit_event
contrib/nccl_ep/device/jit/jit_runtime.cc:111
↓ 17 callers
Function
make_tensor
(ndim: int, datatype, *sizes: int)
contrib/nccl_ep/ep_test.py:139
next →
1–100 of 5,323, ranked by callers