Browse Source

!9647 modify open tsd failed description

From: @jinyaohui
Reviewed-by: @kingxian,@zh_qh
Signed-off-by: @kingxian
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
38b76acdbd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/utils/context/context_extends.cc

+ 1
- 1
mindspore/ccsrc/utils/context/context_extends.cc View File

@@ -76,7 +76,7 @@ bool OpenTsd(const std::shared_ptr<MsContext> &ms_context_ptr) {
MS_LOG(INFO) << "Device id = " << device_id << ", rank size = " << rank_size << ".";
TDT_StatusT status = TsdOpen(device_id, rank_size);
if (status != TDT_OK) {
MS_LOG(EXCEPTION) << "Device " << device_id << " is occupied, open tsd failed, status = " << status << ".";
MS_LOG(EXCEPTION) << "Device " << device_id << " open tsd failed, status = " << status << ".";
return false;
}
ms_context_ptr->increase_param<uint32_t>(MS_CTX_TSD_REF);


Loading…
Cancel
Save