mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 10:18:53 +08:00
Moving Local Mode to C++ (#7670)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -98,7 +98,8 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
CRayStatus() nogil,
|
||||
void() nogil,
|
||||
void(c_string *stack_out) nogil,
|
||||
c_bool ref_counting_enabled)
|
||||
c_bool ref_counting_enabled,
|
||||
c_bool local_worker)
|
||||
CWorkerType &GetWorkerType()
|
||||
CLanguage &GetLanguage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user