mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Don't use Platform class in shared tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3adc3c5ca0
commit
4caa10f76e
@@ -35,8 +35,9 @@ TEST_F(AubMemoryOperationsHandlerTests, givenAubManagerWhenMakeResidentCalledOnC
|
||||
|
||||
getMemoryOperationsHandler()->setAubManager(&aubManager);
|
||||
auto memoryOperationsInterface = getMemoryOperationsHandler();
|
||||
|
||||
MockGmm gmm;
|
||||
auto executionEnvironment = std::unique_ptr<ExecutionEnvironment>(MockDevice::prepareExecutionEnvironment(defaultHwInfo.get(), 0u));
|
||||
executionEnvironment->rootDeviceEnvironments[0]->initGmm();
|
||||
MockGmm gmm(executionEnvironment->rootDeviceEnvironments[0]->getGmmClientContext());
|
||||
gmm.isCompressionEnabled = true;
|
||||
allocPtr->setDefaultGmm(&gmm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user