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

Function wait_event

imperative/python/megengine/_multistream.py:20–21  ·  view source on GitHub ↗
(device, event)

Source from the content-addressed store, hash-verified

18
19
20def wait_event(device, event):
21 apply(Barrier(device, 0), event)

Callers 1

test_stream_memFunction · 0.90

Calls 2

BarrierClass · 0.85
applyFunction · 0.50

Tested by 1

test_stream_memFunction · 0.72