mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
refactor: Remove global CompilerProductHelper gettter 1/n
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7925e12392
commit
235385abc9
@@ -1981,9 +1981,11 @@ TEST_F(ProgramTests, whenCreatingFromZebinThenAppendAllowZebinFlagToBuildOptions
|
||||
ZebinTestData::ValidEmptyProgram zebin;
|
||||
|
||||
auto copyHwInfo = *defaultHwInfo;
|
||||
auto compilerProductHelper = CompilerProductHelper::get(copyHwInfo.platform.eProductFamily);
|
||||
MockExecutionEnvironment mockExecutionEnvironment{};
|
||||
|
||||
compilerProductHelper->adjustHwInfoForIgc(copyHwInfo);
|
||||
auto &compilerProductHelper = mockExecutionEnvironment.rootDeviceEnvironments[0]->getHelper<CompilerProductHelper>();
|
||||
|
||||
compilerProductHelper.adjustHwInfoForIgc(copyHwInfo);
|
||||
|
||||
zebin.elfHeader->machine = copyHwInfo.platform.eProductFamily;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user