From: @chen_yemeng
Reviewed-by: @wangxiaotian22,@xchu42
Signed-off-by: @wqtshg
pull/962/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 3b33111b21

@ -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