SWDEV-481860 - Match malloc/hipMalloc calls with free/hipFree calls in all samples.

Change-Id: Ib44551b3f60cd90fa7158e4ed016ef5549a34ef7


[ROCm/hip-tests commit: b89a7c6201]
This commit is contained in:
Jaydeep Patel authored and Jaydeepkumar Patel committed 2024-09-04 10:32:58 -04:00
1 förälder f06e679b18
incheckning 370b76407d
9 files changed
+43

No files matched your search

@@ -84,5 +84,11 @@ int main(int argc, char *argv[])
checkHipErrors(hipErrorUnknown);
}
}
checkHipErrors(hipFree(A_d));
checkHipErrors(hipFree(C_d));
free(A_h);
free(C_h);
printf ("PASSED!\n");
}