From 3125b51996bd903e6c11784a61d442f660f9b174 Mon Sep 17 00:00:00 2001 From: "Stojiljkovic, Vladana" Date: Fri, 8 Aug 2025 15:11:17 +0200 Subject: [PATCH] SWDEV-545082 - Add hipEventDestroy call (#485) --- catch/multiproc/hipIpcEventHandle.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catch/multiproc/hipIpcEventHandle.cc b/catch/multiproc/hipIpcEventHandle.cc index bd6fdff296..499ef0862e 100644 --- a/catch/multiproc/hipIpcEventHandle.cc +++ b/catch/multiproc/hipIpcEventHandle.cc @@ -196,6 +196,9 @@ void runMultiProcKernel(ipcEventInfo_t *shmEventInfo, int index) { } } } + for (int i = 1; i < g_processCnt; i++) { + HIP_CHECK(hipEventDestroy(event[i])); + } } else { hipEvent_t event; HIP_CHECK(hipEventCreateWithFlags(&event,