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

Function record_event

imperative/src/impl/physical_tensor.cpp:495–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493} // namespace
494
495uint64_t record_event(CompNode cn, bool doitnow) {
496 return CompNodeSyncManager::inst().record(cn, doitnow);
497}
498
499void device_wait_event(CompNode waiter, CompNode waitee, uint64_t event) {
500 CompNodeSyncManager::inst().device_wait(waiter, waitee, event);

Callers 10

BorrowedBlobMethod · 0.70
~BorrowedBlobMethod · 0.70
get_ready_eventMethod · 0.70
do_apply_opMethod · 0.50
async_releaseFunction · 0.50
on_waiting_finishedMethod · 0.50
GraphProfilerMethod · 0.50

Calls 2

instFunction · 0.85
recordMethod · 0.45

Tested by

no test coverage detected