Test mem blocking free from API level

Change-Id: If72eec2e146c4ff52f9edab1c37046e565027477
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2020-03-20 11:56:01 +01:00
committed by sys_ocldev
parent 48a89abf8c
commit 89043d85d0

View File

@@ -358,7 +358,7 @@ HWTEST_F(UsmDestructionTests, givenSharedUsmAllocationWhenBlockingFreeIsCalledTh
EXPECT_CALL(*mockCsr, waitForCompletionWithTimeout(::testing::_, TimeoutControls::maxTimeout, 6u))
.Times(2);
svmAllocationsManager->freeSVMAlloc(sharedMemory, true);
clMemBlockingFreeINTEL(&mockContext, sharedMemory);
}
HWTEST_F(UsmDestructionTests, givenUsmAllocationWhenBlockingFreeIsCalledThenWaitForCompletionIsCalled) {
@@ -396,5 +396,5 @@ HWTEST_F(UsmDestructionTests, givenUsmAllocationWhenBlockingFreeIsCalledThenWait
EXPECT_CALL(*mockCsr, waitForCompletionWithTimeout(::testing::_, TimeoutControls::maxTimeout, 6u))
.Times(1);
svmAllocationsManager->freeSVMAlloc(hostMemory, true);
clMemBlockingFreeINTEL(&mockContext, hostMemory);
}