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

github.com/NVIDIA/nccl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bachan <jbachan@nvidia.com>2021-09-23 19:52:42 +0300
committerJohn Bachan <jbachan@nvidia.com>2021-09-23 19:55:16 +0300
commit30ca3fcacf8a73c48d7b8f7aaa54ae8bff89e884 (patch)
tree7c3ba068e5fd3106ddc3f380400c91f725648500
parent4ec992fab7d90691ad43bee6f7f6c34aa219934c (diff)
Fix compilation failure in "src/enqueue.cc" on older GCC because of
missing `#include <cstring>`.
-rw-r--r--src/enqueue.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/enqueue.cc b/src/enqueue.cc
index e863b82..4deac18 100644
--- a/src/enqueue.cc
+++ b/src/enqueue.cc
@@ -10,6 +10,8 @@
#include "gdrwrap.h"
#include "bootstrap.h"
+#include <cstring> // std::memcpy
+
// Only generate inline kernels for LL
#define NCCL_FUNC5(func, algo, devredop, dtype) \
(void*)NCCL_KERN_NAME(func, algo, LL, devredop, dtype), \