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
!13286
remove mutex
From:
@anancds
Reviewed-by: @wilfchen,@cristoval Signed-off-by:
@cristoval
tags/v1.2.0-rc1
mindspore-ci-bot
Gitee
4 years ago
parent
0d93f4475f
bc2bf440b9
commit
1e771f716d
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
mindspore/ccsrc/ps/core/server_node.cc
+0
-1
mindspore/ccsrc/ps/core/worker_node.cc
+ 0
- 1
mindspore/ccsrc/ps/core/server_node.cc
View File
@@ -150,7 +150,6 @@ bool ServerNode::Stop() {
}
bool ServerNode::Finish(const uint32_t &timeout) {
std::lock_guard<std::mutex> lock(finish_mutex_);
if (is_already_finished_) {
MS_LOG(INFO) << "Server node already finish!";
return true;
+ 0
- 1
mindspore/ccsrc/ps/core/worker_node.cc
View File
@@ -81,7 +81,6 @@ bool WorkerNode::Stop() {
}
bool WorkerNode::Finish(const uint32_t &timeout) {
std::lock_guard<std::mutex> lock(finish_mutex_);
if (is_already_finished_) {
MS_LOG(INFO) << "Worker node already finish!";
return true;
Write
Preview
Loading…
Cancel
Save