MCPcopy 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
22bool is_finalize() {
23 static CompNodeDepedentObjectInst* obj = new CompNodeDepedentObjectInst;
24 return obj->is_finalized();
25}
26
27void sync(mgbComputeNode_t cn) {
28 if (!is_finalize()) {

Callers 4

syncFunction · 0.85
load_cuda_cnFunction · 0.85
deallocMethod · 0.85
allocFunction · 0.85

Calls 1

is_finalizedMethod · 0.45

Tested by

no test coverage detected