Browse Source

!962 modify cast

From: @chen_yemeng
Reviewed-by: @wangxiaotian22,@xchu42
Signed-off-by: @wqtshg
tags/v1.2.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
3b33111b21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/manager/graph_var_manager.cc

+ 1
- 1
ge/graph/manager/graph_var_manager.cc View File

@@ -302,7 +302,7 @@ Status RdmaMemResource::AssignVarMem(const std::string &var_name, uint64_t size,
GELOGE(MEMALLOC_FAILED, "Failed to malloc rdma memory for node %s, size = %llu", var_name.c_str(), size);
return MEMALLOC_FAILED;
}
address = reinterpret_cast<size_t>(reinterpret_cast<uintptr_t>(buffer));
address = static_cast<size_t>(reinterpret_cast<uintptr_t>(buffer));
var_mem_size_ += size;
GELOGI("[IMAS]AssignVarMem Set session_%llu name[%s] output[%d] addr to [%p] size[%llu].",
session_id, var_name.c_str(), 0, buffer, size);


Loading…
Cancel
Save