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
والد 4ec992fab7
کامیت 30ca3fcacf
+2
مشاهده پرونده
@@ -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), \