xref: /aosp_15_r20/external/tensorflow/third_party/nccl/archive.patch (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1diff --git a/src/collectives/device/all_gather.cu b/src/collectives/device/all_gather.cu.cc
2similarity index 100%
3rename from src/collectives/device/all_gather.cu
4rename to src/collectives/device/all_gather.cu.cc
5diff --git a/src/collectives/device/all_reduce.cu b/src/collectives/device/all_reduce.cu.cc
6similarity index 100%
7rename from src/collectives/device/all_reduce.cu
8rename to src/collectives/device/all_reduce.cu.cc
9diff --git a/src/collectives/device/broadcast.cu b/src/collectives/device/broadcast.cu.cc
10similarity index 100%
11rename from src/collectives/device/broadcast.cu
12rename to src/collectives/device/broadcast.cu.cc
13diff --git a/src/collectives/device/functions.cu b/src/collectives/device/functions.cu.cc
14similarity index 100%
15rename from src/collectives/device/functions.cu
16rename to src/collectives/device/functions.cu.cc
17diff --git a/src/collectives/device/onerank_reduce.cu b/src/collectives/device/onerank_reduce.cu.cc
18similarity index 100%
19rename from src/collectives/device/onerank_reduce.cu
20rename to src/collectives/device/onerank_reduce.cu.cc
21diff --git a/src/collectives/device/reduce.cu b/src/collectives/device/reduce.cu.cc
22similarity index 100%
23rename from src/collectives/device/reduce.cu
24rename to src/collectives/device/reduce.cu.cc
25diff --git a/src/collectives/device/reduce_scatter.cu b/src/collectives/device/reduce_scatter.cu.cc
26similarity index 100%
27rename from src/collectives/device/reduce_scatter.cu
28rename to src/collectives/device/reduce_scatter.cu.cc
29diff --git a/src/collectives/device/sendrecv.cu b/src/collectives/device/sendrecv.cu.cc
30similarity index 100%
31rename from src/collectives/device/sendrecv.cu
32rename to src/collectives/device/sendrecv.cu.cc
33diff --git a/src/nccl.h.in b/src/nccl.h
34similarity index 98%
35rename from src/nccl.h.in
36rename to src/nccl.h
37index 985274e..7ebb1e1 100644
38--- a/src/nccl.h.in
39+++ b/src/nccl.h
40@@ -13,12 +13,12 @@
41 #include <cuda_bf16.h>
42 #endif
43
44-#define NCCL_MAJOR ${nccl:Major}
45-#define NCCL_MINOR ${nccl:Minor}
46-#define NCCL_PATCH ${nccl:Patch}
47-#define NCCL_SUFFIX "${nccl:Suffix}"
48+#define NCCL_MAJOR 2
49+#define NCCL_MINOR 13
50+#define NCCL_PATCH 4
51+#define NCCL_SUFFIX ""
52
53-#define NCCL_VERSION_CODE ${nccl:Version}
54+#define NCCL_VERSION_CODE 2134
55 #define NCCL_VERSION(X,Y,Z) (((X) <= 2 && (Y) <= 8) ? (X) * 1000 + (Y) * 100 + (Z) : (X) * 10000 + (Y) * 100 + (Z))
56
57 #ifdef __cplusplus
58