diff options
author | John Bachan <jbachan@nvidia.com> | 2021-09-23 19:52:42 +0300 |
---|---|---|
committer | John Bachan <jbachan@nvidia.com> | 2021-09-23 19:55:16 +0300 |
commit | 30ca3fcacf8a73c48d7b8f7aaa54ae8bff89e884 (patch) | |
tree | 7c3ba068e5fd3106ddc3f380400c91f725648500 | |
parent | 4ec992fab7d90691ad43bee6f7f6c34aa219934c (diff) |
Fix compilation failure in "src/enqueue.cc" on older GCC because of
missing `#include <cstring>`.
-rw-r--r-- | src/enqueue.cc | 2 |
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), \ |