From 7c0dd5b1cf209a696509f8e94c8925d221f2b9a0 Mon Sep 17 00:00:00 2001 From: Evgenii Averin <86725875+averinevg@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:15:30 +0100 Subject: [PATCH] Fix typo --- rocclr/device/rocm/rocdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/rocm/rocdevice.cpp b/rocclr/device/rocm/rocdevice.cpp index 3b6b4d4d5..cfc63c899 100644 --- a/rocclr/device/rocm/rocdevice.cpp +++ b/rocclr/device/rocm/rocdevice.cpp @@ -2165,7 +2165,7 @@ void* Device::hostAlloc(size_t size, size_t alignment, MemorySegment mem_seg) co stat = hsa_amd_agents_allow_access(gpu_agents_.size(), &gpu_agents_[0], nullptr, ptr); if (stat != HSA_STATUS_SUCCESS) { - LogPrintfError("Fail hsa_amd_agents_alloc_access with err %d", stat); + LogPrintfError("Fail hsa_amd_agents_allow_access with err %d", stat); hostFree(ptr, size); return nullptr; }