Enable local sendrecv over network if GDR is available on all GPUs (#324)

Bu işleme şunda yer alıyor:
Wenkai Du
2021-03-05 19:59:41 -08:00
işlemeyi yapan: GitHub
ebeveyn f4a9b9acba
işleme c018edf0f2
14 değiştirilmiş dosya ile 163 ekleme ve 44 silme
+3
Dosyayı Görüntüle
@@ -121,6 +121,9 @@ struct ncclComm {
// Flag to ask NCCL kernels to abort
volatile uint32_t *abortFlag;
// Flags for enable P2P NET
uint32_t *p2pNet;
// Device side of the communicator
struct ncclDevComm *devComm;
// Host copy of the devComm (to free CUDA allocs)
+5
Dosyayı Görüntüle
@@ -150,6 +150,8 @@ struct ncclTree {
struct ncclPeer {
struct ncclConnector send;
struct ncclConnector recv;
struct ncclConnector p2pSend;
struct ncclConnector p2pRecv;
};
struct ncclDevComm;
@@ -332,6 +334,9 @@ struct ncclDevComm {
// Channels, device side
struct ncclChannel* channels;
// Flags for enable P2P NET
uint32_t *p2pNet;
#ifdef ENABLE_PROFILING
// Profiling counters
struct ncclProf* devProf;