mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Remove platformDevices [2/n]
replace **platformDevices with *defaultHwInfo replace *platformDevices[0] with *defaultHwInfo Related-To: NEO-4499 Change-Id: If973ceb44ede2e940969f9c666f85d9a939fbff8 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
5a1d8c0b6d
commit
7a2310163e
@@ -519,7 +519,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
::testing::Values(PreemptionMode::Disabled, PreemptionMode::MidBatch, PreemptionMode::ThreadGroup));
|
||||
|
||||
HWTEST_F(MidThreadPreemptionTests, createCsrSurfaceNoWa) {
|
||||
HardwareInfo hwInfo = *platformDevices[0];
|
||||
HardwareInfo hwInfo = *defaultHwInfo;
|
||||
hwInfo.workaroundTable.waCSRUncachable = false;
|
||||
|
||||
std::unique_ptr<MockDevice> mockDevice(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfo));
|
||||
@@ -558,7 +558,7 @@ HWTEST_F(MidThreadPreemptionTests, givenMidThreadPreemptionWhenFailingOnCsrSurfa
|
||||
}
|
||||
|
||||
HWTEST_F(MidThreadPreemptionTests, createCsrSurfaceWa) {
|
||||
HardwareInfo hwInfo = *platformDevices[0];
|
||||
HardwareInfo hwInfo = *defaultHwInfo;
|
||||
hwInfo.workaroundTable.waCSRUncachable = true;
|
||||
|
||||
std::unique_ptr<MockDevice> mockDevice(MockDevice::createWithNewExecutionEnvironment<MockDevice>(&hwInfo));
|
||||
|
||||
Reference in New Issue
Block a user