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

Method alloc_dynamic

src/core/impl/graph/cg_impl.cpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void DeviceMemoryAllocator::alloc_dynamic(
95 VarNode*, DeviceTensorStorage& dest, size_t size) {
96 dest.ensure_size(size);
97}
98
99void DeviceMemoryAllocator::defrag_prealloc_contig(
100 ComputingGraph* /*graph*/, CompNode comp_node,

Callers 2

alloc_directMethod · 0.45
defrag_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected