From 4e6a699eaea64d3684906cd51fa22a478664fbef Mon Sep 17 00:00:00 2001 From: pghafari Date: Tue, 22 Nov 2022 06:17:55 -0500 Subject: [PATCH] SWDEV-366279 - updating p2p error msg Change-Id: I294e7770efd11f511dd5817eb28bd3c97d9d4926 [ROCm/clr commit: 402504f548f4fa21e4da301a448ac75acb4d4ec1] --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index 680af5c902..0f27a1b038 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -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; } }