Move GfxCoreHelper ownership to RootDeviceEnvironment

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-09 14:59:10 +00:00
committed by Compute-Runtime-Automation
parent d32a7ee7d0
commit eb63f36108
35 changed files with 207 additions and 113 deletions

View File

@@ -73,7 +73,8 @@ BDWTEST_F(ThreadArbitrationGen8, givenPolicyWhenThreadArbitrationProgrammedThenD
MockDevice device;
EXPECT_EQ(0u, PreambleHelper<Gen8Family>::getAdditionalCommandsSize(device));
EXPECT_EQ(ThreadArbitrationPolicy::AgeBased, GfxCoreHelperHw<Gen8Family>::get().getDefaultThreadArbitrationPolicy());
auto &gfxCoreHelper = getHelper<GfxCoreHelper>();
EXPECT_EQ(ThreadArbitrationPolicy::AgeBased, gfxCoreHelper.getDefaultThreadArbitrationPolicy());
}
BDWTEST_F(ThreadArbitrationGen8, whenGetSupportThreadArbitrationPoliciesIsCalledThenEmptyVectorIsReturned) {