Merge pull request #795 from wenkaidu/nccl_sync

Sync latest update from NCCL

[ROCm/rccl commit: 397716c04d]
Tá an tiomantas seo le fáil i:
Wenkai Du údaraithe agus GitHub tiomanta 2023-07-05 09:51:48 -07:00
2 tuismitheoirí 9b2475ef06 97d1856104
tiomantas c749c08c18
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -1098,7 +1098,7 @@ ncclResult_t ncclIbIsend(void* sendComm, void* data, int size, int tag, void* mh
int slot = (comm->fifoHead)%MAX_REQUESTS;
struct ncclIbRequest** reqs = comm->fifoReqs[slot];
slots = comm->fifo[slot];
int idx = comm->fifoHead+1;
uint64_t idx = comm->fifoHead+1;
if (slots[0].idx != idx) { *request = NULL; return ncclSuccess; }
nreqs = slots[0].nreqs;
// Wait until all data has arrived