Home Knowledge Base Collective Communication Primitives

Collective Communication Primitives are the fundamental parallel communication operations that coordinate data exchange among all processes (or GPUs) in a group — where allreduce, broadcast, allgather, reduce-scatter, and alltoall provide the building blocks for distributed training, scientific computing, and any parallel application, and where the choice of algorithm (ring, tree, recursive halving-doubling, hierarchical) determines the communication time that often dominates parallel scalability.

Core Collective Operations

Algorithm Implementations

Ring Allreduce:

Tree Allreduce:

Recursive Halving-Doubling:

NCCL (NVIDIA Collective Communications Library)

The standard for GPU-to-GPU collectives:

Collective Communication Primitives are the data movement backbone of parallel computing — the operations whose bandwidth and latency scalability directly determine whether a distributed application achieves near-linear scaling or hits a communication wall.

collective communication mpiallreduce broadcast gathernccl collective gpuring allreduce tree allreducecommunication primitive parallel

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.