Home
last modified time | relevance | path

Searched defs:FutureData (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/core/mindrt/include/async/
Dfuture_base.h52 struct FutureData { struct
57 FutureData() in FutureData() argument
66 ~FutureData() { Clear(); } in ~FutureData() argument
69 void Clear() { in Clear()
75 SpinLock lock;
76 MindrtStatus status;
78 bool associated;
79 bool abandoned;
80 bool gotten;
82 std::promise<T> promise;
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/ir/
Dtensor.h78FutureData(std::shared_ptr<T> data, std::exception_ptr e_ptr) : data_(std::move(data)), e_ptr_(std… in FutureData() function