From c22fe4378608c493fdee9c48ffbdcdf59c78bc93 Mon Sep 17 00:00:00 2001 From: wxl Date: Tue, 19 Jan 2021 19:38:37 +0800 Subject: [PATCH] UpdateTiling pre-place --- ge/hybrid/executor/subgraph_executor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/hybrid/executor/subgraph_executor.cc b/ge/hybrid/executor/subgraph_executor.cc index 8f7334de..6103e6e8 100644 --- a/ge/hybrid/executor/subgraph_executor.cc +++ b/ge/hybrid/executor/subgraph_executor.cc @@ -240,7 +240,7 @@ Status SubgraphExecutor::PrepareNodes() { return INTERNAL_ERROR; } auto shared_task_context = std::shared_ptr(unique_task_context.release()); - node_state->SetTaskContex(shared_task_context); + node_state->SetTaskContext(shared_task_context); } if (!ready_queue_.Push(p_node_state)) { @@ -284,7 +284,7 @@ Status SubgraphExecutor::PrepareForExecution(GraphExecutionContext *ctx, NodeSta return INTERNAL_ERROR; } auto shared_task_context = std::shared_ptr(unique_task_context.release()); - node_state.SetTaskContex(shared_task_context); + node_state.SetTaskContext(shared_task_context); GE_CHK_RT_RET(rtCtxSetCurrent(ctx->rt_context)); RECORD_COMPILE_EVENT(ctx, node_item.NodeItem().c_str(), "[UpdateTilingData] start"); GE_CHK_STATUS_RET_NOLOG(task->UpdateTilingData(*shared_task_context)); // update op_desc before alloc ws