提交 545567d3 编写于 作者: M Megvii Engine Team

fix(atlas): add NO_MEM_RECLAME flag for the output of atlas runtime opr

GitOrigin-RevId: 34df15f1a9f45437268f79f5385285c9a01aa08c
上级 1fa143ce
......@@ -254,7 +254,9 @@ AtlasRuntimeOpr::AtlasRuntimeOpr(SharedBuffer buf,
* set the flag to SYS_MEM_ALLOC.
*/
for (size_t i = 0; i < nr_outputs; ++i) {
output(i)->add_flag(F::NO_SYS_MEM_ALLOC);
output(i)
->add_flag(F::NO_SYS_MEM_ALLOC)
.add_flag(F::NO_MEM_RECLAIM);
}
}
add_equivalence_component<mgb::ScalarHash<const void*>>(m_buffer.data());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册