SWDEV-487988 - Destroy event and free memory.
Change-Id: I95ceaac5b343132c0660de0dabba548fb6a29034
This commit is contained in:
zatwierdzone przez
Jaydeepkumar Patel
rodzic
8515ac9b2f
commit
80144befea
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user