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

missing `#include <cstring>`.
This commit is contained in:
John Bachan 2021-09-23 09:52:42 -07:00
parent 4ec992fab7
commit 30ca3fcacf

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), \