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
Raise exception when Sync stream failed
tags/v1.2.0-rc1
caifubi
5 years ago
parent
142f9c2d3e
commit
ea2aa7dec4
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
@@ -1617,7 +1617,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