SWDEV-548500 - Resolve memory leaks in memory tests (#1093)
This commit is contained in:
1 parent
95f721f8a5
commit
7e20e8ec13
12 files changed
+42
-24
No files matched your search
@@ -114,6 +114,7 @@ TEST_CASE("Unit_hipMemPoolCreate_With_maxSize") {
|
||||
HIP_CHECK(
|
||||
hipMallocFromPoolAsync(reinterpret_cast<void**>(&B), 1024 * 1024 * 513, mem_pool, stream));
|
||||
#endif
|
||||
HIP_CHECK(hipFreeAsync(A, stream));
|
||||
HIP_CHECK(hipMemPoolDestroy(mem_pool));
|
||||
HIP_CHECK(hipStreamDestroy(stream));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user