SWDEV-545082 - Add hipEventDestroy call (#485)

This commit is contained in:
Stojiljkovic, Vladana authored and GitHub committed 2025-08-08 18:41:17 +05:30
1 vanhempi 2f9b9d660c
commit 3125b51996
1 file changed
+3
@@ -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,