Browse Source

fix

pull/1985/head
guopeian 3 years ago
parent
commit
fee9d42990
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/single_op/task/op_task.cc

+ 1
- 1
ge/single_op/task/op_task.cc View File

@@ -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),
&copy_io_addr[0], sizeof(uint64_t) * memcpy_io_num);
&copy_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.",


Loading…
Cancel
Save