Break when finding ganged agent
There's no need to keep looking in the list once we find a ganged agent.
Change-Id: Ia0b9b484c88221a7966a814456942c19b1741978
[ROCm/ROCR-Runtime commit: f8664e88e0]
This commit is contained in:
@@ -896,6 +896,7 @@ hsa_status_t GpuAgent::DmaCopy(void* dst, core::Agent& dst_agent,
|
||||
|
||||
if (dst_agent.public_handle().handle == peer_info.first.public_handle().handle) {
|
||||
tmp_gang_factor = peer_info.second;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user