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

Method check_exception

src/core/impl/utils/async_worker.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void AsyncWorkerSet::check_exception() {
118#if MGB_ENABLE_EXCEPTION
119 if (m_prev_exception) {
120 std::rethrow_exception(m_prev_exception);
121 }
122#endif
123}
124
125#else // MGB_HAVE_THREAD
126

Callers 7

alloc_hostMethod · 0.45
free_hostMethod · 0.45
copy_to_hostMethod · 0.45
copy_to_deviceMethod · 0.45
copy_to_host_refMethod · 0.45
copy_to_device_refMethod · 0.45
create_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected