Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/nccl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cc b/src/init.cc
index 9da676a..627f6c7 100644
--- a/src/init.cc
+++ b/src/init.cc
@@ -125,7 +125,7 @@ ncclResult_t ncclGetUniqueId(ncclUniqueId* out) {
// Prevent compiler from optimizing out these operations
#ifdef __clang__
-#define NCCL_NO_OPTIMIZE __attribute__((noopt))
+#define NCCL_NO_OPTIMIZE __attribute__((optnone))
#else
#define NCCL_NO_OPTIMIZE __attribute__((optimize("O0")))
#endif