From b5fadf9cd1897d5d1ac1646812d422bdbc29dd83 Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Mon, 22 Jan 2024 13:51:37 +0000 Subject: [PATCH] SWDEV-442421 - Fixed case where hipIpcGetMemHandle erroneously returns hipSuccess Change-Id: Ie322a1a0165111d2ca129e68f49b54fe93aa088e --- rocclr/device/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/device.cpp b/rocclr/device/device.cpp index ac91003104..3202ca2fb8 100644 --- a/rocclr/device/device.cpp +++ b/rocclr/device/device.cpp @@ -855,7 +855,7 @@ bool Device::IpcCreate(void* dev_ptr, size_t* mem_size, void* handle, size_t* me auto dev_mem = static_cast(amd_mem_obj->getDeviceMemory(*this)); auto result = dev_mem->ExportHandle(handle); - return true; + return result; } // ================================================================================================