From 418f1d6460ced084155b6c64d628100543286565 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 [ROCm/clr commit: 06edbb817798d683d665be915ed5e7d12b65a04e] --- projects/clr/hipamd/src/hip_event_ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_event_ipc.cpp b/projects/clr/hipamd/src/hip_event_ipc.cpp index ca137809aa..9a01f27b55 100644 --- a/projects/clr/hipamd/src/hip_event_ipc.cpp +++ b/projects/clr/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();