Skip to content

Commit

Permalink
Fix preprocessor version check for ncclGetLastError()
Browse files Browse the repository at this point in the history
ncclGetLastError() was added in NCCL 2.13.0
  • Loading branch information
AddyLaddy committed Sep 7, 2022
1 parent afa4c56 commit 749573f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) { \
Expand Down

0 comments on commit 749573f

Please sign in to comment.