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

Этот коммит содержится в:
Wenkai Du
2021-03-05 19:59:41 -08:00
коммит произвёл GitHub
родитель f4a9b9acba
Коммит c018edf0f2
14 изменённых файлов: 163 добавлений и 44 удалений
+3
Просмотреть файл
@@ -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
Просмотреть файл
@@ -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;