|
|
@@ -174,8 +174,8 @@ FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY Status SingleOp::ExecuteAsync(c |
|
|
|
std::lock_guard<std::mutex> lk(*stream_mutex_); |
|
|
|
auto current_mem_base = stream_resource_->GetMemoryBase(); |
|
|
|
if (running_param_->mem_base != current_mem_base) { |
|
|
|
running_param_->mem_base = current_mem_base; |
|
|
|
GELOGD("Memory base changed, new memory base =%lu", current_mem_base); |
|
|
|
running_param_->mem_base = const_cast<uint8_t *>(current_mem_base); |
|
|
|
GELOGD("Memory base changed, new memory base = %p", current_mem_base); |
|
|
|
for (auto &task : tasks_) { |
|
|
|
auto new_address = BuildTaskUtils::GetAddresses(task->GetOpdesc(), *running_param_); |
|
|
|
GE_CHK_STATUS_RET(task->UpdateArgTable(*running_param_), |
|
|
|