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();