Moving Local Mode to C++ (#7670)

This commit is contained in:
ijrsvt
2020-04-01 13:50:57 -07:00
committed by GitHub
parent 65054a2c7c
commit 9bfc2c4b54
17 changed files with 489 additions and 648 deletions
+3
View File
@@ -193,6 +193,9 @@ cdef extern from "ray/common/buffer.h" namespace "ray" nogil:
cdef extern from "ray/common/ray_object.h" nogil:
cdef cppclass CRayObject "ray::RayObject":
CRayObject(const shared_ptr[CBuffer] &data,
const shared_ptr[CBuffer] &metadata,
const c_vector[CObjectID] &nested_ids)
c_bool HasData() const
c_bool HasMetadata() const
const size_t DataSize() const