Use our own implementation of parallel_memcopy (#7254)

This commit is contained in:
Edward Oakes
2020-02-21 11:03:50 -08:00
committed by GitHub
parent cbc808bc6b
commit d190e73727
7 changed files with 69 additions and 27 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ DEF kMajorBufferSize = 2048
DEF kMemcopyDefaultBlocksize = 64
DEF kMemcopyDefaultThreshold = 1024 * 1024
cdef extern from "arrow/util/memory.h" namespace "arrow::internal" nogil:
cdef extern from "ray/util/memory.h" namespace "ray" nogil:
void parallel_memcopy(uint8_t* dst, const uint8_t* src, int64_t nbytes,
uintptr_t block_size, int num_threads)