!5644 set context for worker thread

Merge pull request !5644 from kisnwang/async-run-graph
This commit is contained in:
mindspore-ci-bot 2020-09-01 23:55:51 +08:00 committed by Gitee
commit e5c5708c2c
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ void AscendKernelRuntime::ReleaseDeviceRes() {
bool AscendKernelRuntime::Init() {
if (initialized_) {
SetContext();
return true;
}
bool ret = false;