Fix preprocessor version check for ncclGetLastError()

ncclGetLastError() was added in NCCL 2.13.0
This commit is contained in:
David Addison 2022-09-07 16:10:41 -07:00
parent afa4c56b6a
commit 749573f2d6

View File

@ -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) { \