diff --git a/ge/single_op/task/op_task.cc b/ge/single_op/task/op_task.cc index f940cb36..64ede2ed 100755 --- a/ge/single_op/task/op_task.cc +++ b/ge/single_op/task/op_task.cc @@ -1184,7 +1184,7 @@ Status AiCpuCCTask::SetMemCopyTask(const domi::KernelDef &kernel_def) { auto memcpy_io_addr = memcpy_args_.get() + sizeof(aicpu::AicpuParamHead); // if has input and output, need copy to ioaddr int cpy_ret = memcpy_s(memcpy_io_addr, memcpy_args_size_ - sizeof(aicpu::AicpuParamHead), - ©_io_addr[0], sizeof(uint64_t) * memcpy_io_num); + ©_io_addr_[0], sizeof(uint64_t) * memcpy_io_num); GE_IF_BOOL_EXEC(cpy_ret != 0, REPORT_INNER_ERROR("E19999", "Node[Memcpoy] memcpy io addr to AicpuParamHead failed," "ret=%d, args_size=%u, io nums=%u.",