From 59245664035f3aef575a69f9f36547b2b0ecf11c Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 29 Jan 2021 10:35:26 +0800 Subject: [PATCH] multi_task for single_op. --- ge/hybrid/node_executor/aicore/aicore_op_task.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/hybrid/node_executor/aicore/aicore_op_task.h b/ge/hybrid/node_executor/aicore/aicore_op_task.h index 4cbb9810..69a74ea9 100755 --- a/ge/hybrid/node_executor/aicore/aicore_op_task.h +++ b/ge/hybrid/node_executor/aicore/aicore_op_task.h @@ -50,7 +50,7 @@ class AiCoreOpTask { uint32_t GetBlockDim() const {return block_dim_;} - void SetSingleOp(bool is_single_op) {is_single_op_ = is_single_op}; + void SetSingleOp(bool is_single_op) {is_single_op_ = is_single_op;}; protected: Status UpdateTilingInfo(TaskContext &context); @@ -74,7 +74,7 @@ class AiCoreOpTask { uint32_t args_size_ = 0; uint32_t block_dim_ = 1; bool clear_atomic_ = true; - bool is_single_op_ false; + bool is_single_op_ = false; std::vector output_indices_to_skip_; };