SWDEV-545082 - Add hipEventDestroy call (#485)

This commit is contained in:
Stojiljkovic, Vladana
2025-08-08 15:11:17 +02:00
zatwierdzone przez GitHub
rodzic 2f9b9d660c
commit 3125b51996
@@ -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,