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

Method activate

src/core/impl/comp_node/comp_node.cpp:408–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406/* ==================== CompNode ==================== */
407
408void CompNode::activate() const {
409 static_cast<Impl*>(m_impl)->env().activate();
410}
411
412void CompNode::set_prealloc_config(
413 size_t alignment, size_t min_req, size_t max_overhead, double growth_factor,

Callers 15

TESTFunction · 0.45
calcMethod · 0.45
do_executeMethod · 0.45
calc_checksumMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
load_cuda_cnFunction · 0.45
noncont_tensor_copyFunction · 0.45
dev_tensor_memsetMethod · 0.45
init_cuda_asyncMethod · 0.45
init_atlasMethod · 0.45
init_rocm_asyncMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
buildMethod · 0.36
do_inferenceMethod · 0.36
buildMethod · 0.36
infer_modelMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
create_trt_networkMethod · 0.36
create_trt_networkMethod · 0.36