helpers.NCCL_communicator module¶
- class NCCLComm(comm)[source]¶
Bases:
object
Wraps an MPI communicator and performs some calls to NCCL functions instead.
- static get_count(data)[source]¶
As NCCL doesn’t support complex numbers, we have to act as if we’re sending two real numbers if using complex.