From 31a9789b61968f832544f5c8387581326d3dd3ea 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) [ROCm/hip-tests commit: 3125b51996bd903e6c11784a61d442f660f9b174] --- projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc b/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc index bd6fdff296..499ef0862e 100644 --- a/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc +++ b/projects/hip-tests/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,