From 06edbb817798d683d665be915ed5e7d12b65a04e Mon Sep 17 00:00:00 2001 From: pghafari Date: Mon, 7 Nov 2022 20:21:20 -0500 Subject: [PATCH] SWDEV-356560 - updating error msg to match cuda Change-Id: I1c387cf04d041257b4d168b4cf4d8949153fd69f --- hipamd/src/hip_event_ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/src/hip_event_ipc.cpp b/hipamd/src/hip_event_ipc.cpp index ca137809aa..9a01f27b55 100644 --- a/hipamd/src/hip_event_ipc.cpp +++ b/hipamd/src/hip_event_ipc.cpp @@ -189,7 +189,7 @@ hipError_t IPCEvent::enqueueRecordCommand(hipStream_t stream, amd::Command* comm hipError_t IPCEvent::GetHandle(ihipIpcEventHandle_t* handle) { if (!createIpcEventShmemIfNeeded()) { - return hipErrorInvalidConfiguration; + return hipErrorInvalidValue; } ipc_evt_.ipc_shmem_->owners_device_id = deviceId(); ipc_evt_.ipc_shmem_->owners_process_id = getpid();