mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Move CompilerProductHelper ownership to RootDeviceEnvironment and Ocloc
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4eb443f4dc
commit
7487d1450e
@@ -80,12 +80,11 @@ int OclocIgcFacade::initialize(const HardwareInfo &hwInfo) {
|
||||
return OclocErrorCode::OUT_OF_HOST_MEMORY;
|
||||
}
|
||||
|
||||
const auto compilerProductHelper = CompilerProductHelper::get(hwInfo.platform.eProductFamily);
|
||||
|
||||
populateIgcPlatform(*igcPlatform, hwInfo);
|
||||
IGC::GtSysInfoHelper::PopulateInterfaceWith(*igcGtSystemInfo.get(), hwInfo.gtSystemInfo);
|
||||
|
||||
populateWithFeatures(igcFtrWa.get(), hwInfo, compilerProductHelper);
|
||||
auto compilerProductHelper = NEO::CompilerProductHelper::create(hwInfo.platform.eProductFamily);
|
||||
populateWithFeatures(igcFtrWa.get(), hwInfo, compilerProductHelper.get());
|
||||
|
||||
initialized = true;
|
||||
return OclocErrorCode::SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user