Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ is_finalize
Function
is_finalize
src/core/impl/comp_node_api.cpp:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
};
21
22
bool is_finalize() {
23
static CompNodeDepedentObjectInst* obj = new CompNodeDepedentObjectInst;
24
return obj->is_finalized();
25
}
26
27
void sync(mgbComputeNode_t cn) {
28
if (!is_finalize()) {
Callers
4
sync
Function · 0.85
load_cuda_cn
Function · 0.85
dealloc
Method · 0.85
alloc
Function · 0.85
Calls
1
is_finalized
Method · 0.45
Tested by
no test coverage detected