SWDEV-487988 - Destroy event and free memory.

Change-Id: I95ceaac5b343132c0660de0dabba548fb6a29034
This commit is contained in:
Jaydeep Patel
2024-10-05 12:09:58 +00:00
zatwierdzone przez Jaydeepkumar Patel
rodzic 8515ac9b2f
commit 80144befea
2 zmienionych plików z 7 dodań i 2 usunięć
@@ -170,6 +170,9 @@ void thread_run(const int iThread) {
} else {
fprintf(stderr, "[%d] PASSED\n", iThread);
}
HIP_CHECK(hipEventDestroy(start));
HIP_CHECK(hipEventDestroy(stop));
// free the resources on device side
HIP_CHECK(hipFree(gpuMatrix));
HIP_CHECK(hipFree(gpuTransposeMatrix));