SWDEV-366279 - updating p2p error msg

Change-Id: I294e7770efd11f511dd5817eb28bd3c97d9d4926
이 커밋은 다음에 포함됨:
pghafari
2022-11-22 06:17:55 -05:00
커밋한 사람 Payam Ghafari
부모 cd7034c9bb
커밋 402504f548
+2 -2
파일 보기
@@ -2058,7 +2058,7 @@ bool Device::deviceAllowAccess(void* ptr) const {
hsa_status_t stat = hsa_amd_agents_allow_access(p2pAgents().size(),
p2pAgents().data(), nullptr, ptr);
if (stat != HSA_STATUS_SUCCESS) {
LogError("Allow p2p access");
LogError("Allow p2p access failed - hsa_amd_agents_allow_access");
return false;
}
}
@@ -2074,7 +2074,7 @@ bool Device::allowPeerAccess(device::Memory* memory) const {
hsa_agent_t agent = getBackendDevice();
hsa_status_t stat = hsa_amd_agents_allow_access(1, &agent, nullptr, ptr);
if (stat != HSA_STATUS_SUCCESS) {
LogError("Allow p2p access failed");
LogError("Allow p2p access failed - hsa_amd_agents_allow_access");
return false;
}
}