Fix compilation failure in "src/enqueue.cc" on older GCC because of

missing `#include <cstring>`.


[ROCm/rccl commit: 30ca3fcacf]
This commit is contained in:
John Bachan
2021-09-23 09:52:42 -07:00
parent 761812841b
commit 389213c7e8
+2
View File
@@ -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), \