Merge remote-tracking branch 'nccl/master' into develop

This commit is contained in:
Wenkai Du
2023-04-25 15:38:04 -07:00
79 ha cambiato i file con 4609 aggiunte e 2880 eliminazioni
+13
Vedi File
@@ -110,6 +110,7 @@ struct ncclChannel {
struct ncclTree collnetChain;
struct ncclDirect collnetDirect;
struct ncclTree binTree;
struct ncclNvls nvls;
int id; // index of this channel
uint32_t workFifoSent; // last used work index+1
uint64_t p2pOpCount;
@@ -183,10 +184,12 @@ struct ncclComm {
int nRanks; // number of GPUs in communicator
int cudaDev; // my cuda device index
int compCap; // compute capability of the GPU
int minCompCap; // min compute capability in the communicator
int64_t busId; // my PCI bus ID in int format
cpu_set_t cpuAffinity; // CPU affinity of the GPU
int WarpSize;
int virtualId;
int cudaArch; // matches __CUDA_ARCH__ of device
int node;
int nNodes;
@@ -209,6 +212,7 @@ struct ncclComm {
// Channels for collectives
int nChannels;
int nvlsChannels;
// Channels (per peer) for p2p
int p2pnChannels;
int p2pnChannelsPerPeer;
@@ -270,6 +274,10 @@ struct ncclComm {
int collNetSupport;
int intraHighestTransportType;
// NVLink SHARP (NVLS) support
int nvlsSupport;
void* nvlsResources;
size_t channelSize; // User requested work size (bytes) for channel partitions
// Internal streams
@@ -313,6 +321,11 @@ struct ncclComm {
// communicator mode
int blocking;
// CGA cluster size
int cgaClusterSize;
int minCTAs, maxCTAs;
// network interface name
char *netName;
// initState is to more conveniently reclaim resources when errors happen.
ncclResult_t initState;
// flag to indicate if ncclCommFinalize() is called