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

Function device_wait_event

imperative/src/impl/physical_tensor.cpp:499–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void device_wait_event(CompNode waiter, CompNode waitee, uint64_t event) {
500 CompNodeSyncManager::inst().device_wait(waiter, waitee, event);
501}
502
503void async_release(CompNode cn, uint64_t event, BlobPtr blob) {
504 CompNodeSyncManager::inst().async_release(cn, event, std::move(blob));

Callers 3

apply_on_physical_tensorFunction · 0.85

Calls 2

instFunction · 0.85
device_waitMethod · 0.80

Tested by

no test coverage detected