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

Method get_memory_bottleneck

src/core/impl/graph/seq_sublinear_memory.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117size_t SeqModifierForSublinearMemory::ModifyActionPlanner::get_memory_bottleneck(
118 const SplitPointSet& split_point_set) {
119 split_into_blocks(split_point_set);
120 make_discard_plan();
121 apply_discard_plan();
122 return calc_bottleneck_from_discard_plan();
123}
124
125SeqModifierForSublinearMemory::SplitPointSet SeqModifierForSublinearMemory::
126 ModifyActionPlanner::get_split_point_set(size_t block_size_thresh) {

Callers 3

search_refineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected