Browse Source

!62 fix bug of aicpu dev ptr release failed

Merge pull request !62 from caifubi/master
tags/v1.0.0
mindspore-ci-bot Gitee 4 years ago
parent
commit
b6d2dd731c
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/ge/ge_runtime/task/aicpu_task.cc

+ 6
- 1
src/ge/ge_runtime/task/aicpu_task.cc View File

@@ -22,7 +22,12 @@
namespace ge {
namespace model_runner {
AicpuTask::AicpuTask(const ModelContext &model_context, const std::shared_ptr<AicpuTaskInfo> &task_info)
: TaskRepeater<AicpuTaskInfo>(model_context, task_info), task_info_(task_info), stream_(nullptr), args_(nullptr) {
: TaskRepeater<AicpuTaskInfo>(model_context, task_info),
task_info_(task_info),
stream_(nullptr),
args_(nullptr),
ext_info_(nullptr),
input_output_addr_(nullptr) {
if (task_info_ == nullptr) {
GELOGW("task_info_ is null!");
}


Loading…
Cancel
Save