mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Test mem blocking free from API level
Change-Id: If72eec2e146c4ff52f9edab1c37046e565027477 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
48a89abf8c
commit
89043d85d0
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user