SWDEV-481861 - Add hipEventDestory for every hipEventCreate in all samples.

Change-Id: Ib1b860b02ef2640f321d54902b34ecf0e495ed65
This commit is contained in:
Jaydeep Patel
2024-08-29 06:34:06 +00:00
committed by Jaydeepkumar Patel
parent f54ce39eb5
commit dac779c834
3 changed files with 9 additions and 0 deletions
@@ -129,6 +129,9 @@ int main() {
printf("hipMemcpyDeviceToHost time taken = %6.3fms\n", eventMs);
checkHipErrors(hipEventDestroy(start));
checkHipErrors(hipEventDestroy(stop));
// CPU MatrixTranspose computation
matrixTransposeCPUReference(cpuTransposeMatrix, Matrix, WIDTH);