MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / record_async_error

Method record_async_error

src/core/impl/graph/cg_impl.cpp:850–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850void ComputingGraphImpl::record_async_error(std::unique_ptr<MegBrainError> async_exc) {
851 mgb_assert(m_current_comp_seq);
852 static_cast<ComputingSequence*>(m_current_comp_seq)
853 ->set_async_error(std::move(async_exc));
854}
855
856const CompSeqExtraInfo& ComputingGraphImpl::current_comp_seq_extra_info() {
857 if (auto ret = eager_eval_manager().comp_seq_extra_info()) {

Callers 3

do_waitMethod · 0.45
check_in_execMethod · 0.45
scn_do_execute_finishMethod · 0.45

Calls 1

set_async_errorMethod · 0.80

Tested by

no test coverage detected