Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ wait_ready
Method
wait_ready
src/opr/impl/muxing.cpp:34–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
void wait_ready() {
35
while (!nr_odep_to_wake.load())
36
;
37
auto remain = --nr_odep_to_wake;
38
mgb_assert(remain >= 0);
39
}
40
};
41
42
struct CopyInstr {
Callers
1
execute
Method · 0.80
Calls
1
load
Method · 0.45
Tested by
no test coverage detected