mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-05-01 11:58:19 +08:00
Fix preprocessor version check for ncclGetLastError()
ncclGetLastError() was added in NCCL 2.13.0
This commit is contained in:
parent
afa4c56b6a
commit
749573f2d6
@ -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) { \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user