This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!10865
Raise exception when sync stream failed
From:
@jojobugfree
Reviewed-by: @kisnwang,@zhoufeng54,@chujinjin Signed-off-by:
@chujinjin
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
5 years ago
parent
437816551e
ea2aa7dec4
commit
9591c325f7
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/ccsrc/backend/session/ascend_session.cc
+1
-1
mindspore/ccsrc/backend/session/gpu_session.cc
+ 1
- 1
mindspore/ccsrc/backend/session/ascend_session.cc
View File
@@ -1633,7 +1633,7 @@ void AscendSession::SyncStream() {
MS_EXCEPTION_IF_NULL(runtime_instance);
auto ret = runtime_instance->SyncStream();
if (!ret) {
MS_LOG(E
RROR
) << "Sync stream error!";
MS_LOG(E
XCEPTION
) << "Sync stream error!";
}
}
} // namespace session
+ 1
- 1
mindspore/ccsrc/backend/session/gpu_session.cc
View File
@@ -504,7 +504,7 @@ void GPUSession::SyncStream() {
MS_EXCEPTION_IF_NULL(runtime_instance);
auto ret = runtime_instance->SyncStream();
if (!ret) {
MS_LOG(E
RROR
) << "Sync stream error!";
MS_LOG(E
XCEPTION
) << "Sync stream error!";
}
}
} // namespace gpu
Write
Preview
Loading…
Cancel
Save