Home
last modified time | relevance | path

Searched refs:session_impl_ (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/gpu/
Dgpu_graph_impl.cc32 : session_impl_(nullptr), in GPUGraphImpl()
78 session_impl_ = session::SessionFactory::Get().Create(kGpuInferenceDevice); in InitEnv()
79 if (session_impl_ == nullptr) { in InitEnv()
85 session_impl_->Init(device_id_); in InitEnv()
129 MS_EXCEPTION_IF_NULL(session_impl_); in Load()
130 session_impl_->GetModelInputsInfo(graph_id_, &inputs_info_, &input_names_); in Load()
131 session_impl_->GetModelOutputsInfo(graph_id_, &outputs_info_, &output_names_); in Load()
145 MS_ASSERT(session_impl_ != nullptr); in CompileGraph()
147 graph_id_ = session_impl_->CompileGraph(NOT_NULL(funcGraphPtr)); in CompileGraph()
158 session_impl_->RunGraph(graph_id_, inputs, &outputs); in RunGraph()
Dgpu_graph_impl.h48 std::shared_ptr<session::SessionBasic> session_impl_; variable
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/ascend/
Dascend_graph_impl.cc39 : session_impl_(nullptr), in AscendGraphImpl()
60 session_impl_ = session::SessionFactory::Get().Create(kDavinciInferenceDevice); in InitEnv()
61 if (session_impl_ == nullptr) { in InitEnv()
66 session_impl_->Init(device_id_); in InitEnv()
73 MS_ASSERT(session_impl_ != nullptr); in CompileGraph()
75 graph_id_ = session_impl_->CompileGraph(NOT_NULL(funcGraphPtr)); in CompileGraph()
86 session_impl_->RunGraph(graph_id_, inputs, &outputs); in RunGraph()
95 MS_ASSERT(session_impl_ != nullptr); in CheckModelInputs()
97 if (!session_impl_->CheckModelInputs(graph_id_, inputs, &error_msg)) { in CheckModelInputs()
217 MS_EXCEPTION_IF_NULL(session_impl_); in Load()
[all …]
Dascend_graph_impl.h52 std::shared_ptr<session::SessionBasic> session_impl_; variable
/third_party/boost/doc/html/boost_asio/example/cpp03/nonblocking/
Dthird_party_lib.cpp107 session_impl_(socket_), in connection()
116 if (session_impl_.want_read() && !read_in_progress_) in start_operations()
126 if (session_impl_.want_write() && !write_in_progress_) in start_operations()
142 session_impl_.do_read(ec); in handle_read()
162 session_impl_.do_write(ec); in handle_write()
178 third_party_lib::session session_impl_; member in connection
/third_party/boost/libs/asio/example/cpp03/nonblocking/
Dthird_party_lib.cpp107 session_impl_(socket_), in connection()
116 if (session_impl_.want_read() && !read_in_progress_) in start_operations()
126 if (session_impl_.want_write() && !write_in_progress_) in start_operations()
142 session_impl_.do_read(ec); in handle_read()
162 session_impl_.do_write(ec); in handle_write()
178 third_party_lib::session session_impl_; member in connection
/third_party/boost/doc/html/boost_asio/example/cpp11/nonblocking/
Dthird_party_lib.cpp100 if (session_impl_.want_read() && !read_in_progress_) in do_operations()
110 session_impl_.do_read(ec); in do_operations()
128 if (session_impl_.want_write() && !write_in_progress_) in do_operations()
138 session_impl_.do_write(ec); in do_operations()
158 third_party_lib::session session_impl_{socket_}; member in connection
/third_party/boost/libs/asio/example/cpp11/nonblocking/
Dthird_party_lib.cpp100 if (session_impl_.want_read() && !read_in_progress_) in do_operations()
110 session_impl_.do_read(ec); in do_operations()
128 if (session_impl_.want_write() && !write_in_progress_) in do_operations()
138 session_impl_.do_write(ec); in do_operations()
158 third_party_lib::session session_impl_{socket_}; member in connection