Fix compilation failure in "src/enqueue.cc" on older GCC because of
missing `#include <cstring>`.
This commit is contained in:
parent
4ec992fab7
commit
30ca3fcacf
@ -10,6 +10,8 @@
|
|||||||
#include "gdrwrap.h"
|
#include "gdrwrap.h"
|
||||||
#include "bootstrap.h"
|
#include "bootstrap.h"
|
||||||
|
|
||||||
|
#include <cstring> // std::memcpy
|
||||||
|
|
||||||
// Only generate inline kernels for LL
|
// Only generate inline kernels for LL
|
||||||
#define NCCL_FUNC5(func, algo, devredop, dtype) \
|
#define NCCL_FUNC5(func, algo, devredop, dtype) \
|
||||||
(void*)NCCL_KERN_NAME(func, algo, LL, devredop, dtype), \
|
(void*)NCCL_KERN_NAME(func, algo, LL, devredop, dtype), \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user