Fix preprocessor version check for ncclGetLastError()
ncclGetLastError() was added in NCCL 2.13.0
Cette révision appartient à :
1 Parent
afa4c56b6a
révision
749573f2d6
1 fichier modifié
+1
-1
+1
-1
@@ -28,7 +28,7 @@
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,12,10)
|
||||
#if NCCL_VERSION_CODE >= NCCL_VERSION(2,13,0)
|
||||
#define NCCLCHECK(cmd) do { \
|
||||
ncclResult_t res = cmd; \
|
||||
if (res != ncclSuccess) { \
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur