SWDEV-488318 - Fixes memory leaks in SPT tests
Change-Id: Icabc541b25342d7d5c095b437b91f74582cd9336
[ROCm/hip-tests commit: 726a537a74]
This commit is contained in:
committed by
Rakesh Roy
parent
6c7ed09ca0
commit
c3caa7d1de
@@ -59,6 +59,11 @@ TEST_CASE("Unit_hipStreamPerThread_Basic") {
|
||||
for (int i = MEM_SIZE-1; i >= 0; --i) {
|
||||
CHECK(hostMem[i] == (i+1+SEED));
|
||||
}
|
||||
|
||||
// Clean-up
|
||||
HIP_CHECK(hipHostFree(hostMem));
|
||||
HIP_CHECK(hipFree(devMem));
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("Unit_hipStreamPerThread_StreamQuery") {
|
||||
|
||||
Reference in New Issue
Block a user