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