Merge branch 'missing-devcommdestroy' into 'master'

add missing call to ncclDevCommDestroy

See merge request nccl/nccl-tests-internal!22
This commit is contained in:
Shane Snyder
2026-01-13 11:17:51 -08:00
+5
View File
@@ -1550,6 +1550,11 @@ testResult_t run() {
if (local_register) NCCLCHECK(ncclCommDeregister(comms[i], sendRegHandles[i]));
if (local_register) NCCLCHECK(ncclCommDeregister(comms[i], recvRegHandles[i]));
}
#endif
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,28,0)
if (deviceImpl) {
NCCLCHECK(ncclDevCommDestroy(comms[i], devComms+i));
}
#endif
NCCLCHECK(ncclCommDestroy(comms[i]));
}