Remove redundant initialization.
LinkInfo is already initialized to zero in its default constructor. Change-Id: Ifa4fb886cce9b474c6879c9c82744044ab394082
Tá an tiomantas seo le fáil i:
1 tuismitheoir
56ed5c8904
tiomantas
2843988dd7
1 comhad athraithe
-3
@@ -255,9 +255,6 @@ void Runtime::DestroyAgents() {
|
||||
void Runtime::SetLinkCount(size_t num_link) {
|
||||
const size_t last_index = GetIndexLinkInfo(0, num_link);
|
||||
link_matrix_.resize(last_index);
|
||||
|
||||
memset(&link_matrix_[0], 0,
|
||||
link_matrix_.size() * sizeof(hsa_amd_memory_pool_link_info_t));
|
||||
}
|
||||
|
||||
void Runtime::RegisterLinkInfo(uint32_t node_id_from, uint32_t node_id_to,
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir