Browse Source

!5644 set context for worker thread

Merge pull request !5644 from kisnwang/async-run-graph
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
e5c5708c2c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ccsrc/runtime/device/ascend/ascend_kernel_runtime.cc

+ 1
- 0
mindspore/ccsrc/runtime/device/ascend/ascend_kernel_runtime.cc View File

@@ -194,6 +194,7 @@ void AscendKernelRuntime::ReleaseDeviceRes() {

bool AscendKernelRuntime::Init() {
if (initialized_) {
SetContext();
return true;
}
bool ret = false;


Loading…
Cancel
Save