github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/nccl/archive.patch (about) 1 diff --git a/src/collectives.h b/src/collectives.h 2 new file mode 100644 3 index 0000000..7d04b16 4 --- /dev/null 5 +++ b/src/collectives.h 6 @@ -0,0 +1 @@ 7 +#include "collectives/collectives.h" 8 diff --git a/src/collectives/device/all_gather.cu b/src/collectives/device/all_gather.cu.cc 9 similarity index 100% 10 rename from src/collectives/device/all_gather.cu 11 rename to src/collectives/device/all_gather.cu.cc 12 diff --git a/src/collectives/device/all_reduce.cu b/src/collectives/device/all_reduce.cu.cc 13 similarity index 100% 14 rename from src/collectives/device/all_reduce.cu 15 rename to src/collectives/device/all_reduce.cu.cc 16 diff --git a/src/collectives/device/broadcast.cu b/src/collectives/device/broadcast.cu.cc 17 similarity index 100% 18 rename from src/collectives/device/broadcast.cu 19 rename to src/collectives/device/broadcast.cu.cc 20 diff --git a/src/collectives/device/common.h b/src/collectives/device/common.h 21 index 8c336bf..2eef3ae 100644 22 --- a/src/collectives/device/common.h 23 +++ b/src/collectives/device/common.h 24 @@ -7,7 +7,7 @@ 25 #ifndef NCCL_DEVICE_COMMON_H_ 26 #define NCCL_DEVICE_COMMON_H_ 27 28 -#include "../collectives.h" 29 +#include "collectives.h" 30 #include "devcomm.h" 31 #include "nccl.h" 32 33 diff --git a/src/collectives/device/functions.cu b/src/collectives/device/functions.cu.cc 34 similarity index 100% 35 rename from src/collectives/device/functions.cu 36 rename to src/collectives/device/functions.cu.cc 37 diff --git a/src/collectives/device/reduce.cu b/src/collectives/device/reduce.cu.cc 38 similarity index 100% 39 rename from src/collectives/device/reduce.cu 40 rename to src/collectives/device/reduce.cu.cc 41 diff --git a/src/collectives/device/reduce_scatter.cu b/src/collectives/device/reduce_scatter.cu.cc 42 similarity index 100% 43 rename from src/collectives/device/reduce_scatter.cu 44 rename to src/collectives/device/reduce_scatter.cu.cc 45 diff --git a/src/nccl.h.in b/src/nccl.h 46 similarity index 98% 47 rename from src/nccl.h.in 48 rename to src/nccl.h 49 index 985274e..7ebb1e1 100644 50 --- a/src/nccl.h.in 51 +++ b/src/nccl.h 52 @@ -10,12 +10,12 @@ 53 #include <cuda_runtime.h> 54 #include <cuda_fp16.h> 55 56 -#define NCCL_MAJOR ${nccl:Major} 57 -#define NCCL_MINOR ${nccl:Minor} 58 -#define NCCL_PATCH ${nccl:Patch} 59 -#define NCCL_SUFFIX "${nccl:Suffix}" 60 +#define NCCL_MAJOR 2 61 +#define NCCL_MINOR 4 62 +#define NCCL_PATCH 7 63 +#define NCCL_SUFFIX "" 64 65 -#define NCCL_VERSION_CODE ${nccl:Version} 66 +#define NCCL_VERSION_CODE 2407 67 #define NCCL_VERSION(X,Y,Z) ((X) * 1000 + (Y) * 100 + (Z)) 68 69 #ifdef __cplusplus