mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 16:41:43 +08:00
Use our own implementation of parallel_memcopy (#7254)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user