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

perf(subgraph): remove unnecessary sync

GitOrigin-RevId: 1546286706092d0795137e93745242921cc72a9c
上级 ad079009
......@@ -321,6 +321,7 @@ ComputingGraphHolder& get_computing_graph(std::shared_ptr<OpDef> compiled_op, Sm
cg_holder.graph->options().async_exec_level = 0;
cg_holder.graph->options().graph_opt_level = compiled_op->cast_final_safe<CompiledOp>().gopt_level;
cg_holder.graph->options().enable_var_mem_defragment = false;
cg_holder.graph->options().comp_seq_sync_device = false;
// set allocator for DTR support
cg_holder.graph->set_device_memory_allocator(cg_holder.allocator);
VarNodeArray input_vars;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册