mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Revert "refactor: Store AIL in root device environment"
This reverts commit 02ef252b7d.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c68f55e4f6
commit
27000c06cb
@@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/ail/ail_configuration.h"
|
||||
#include "shared/source/execution_environment/root_device_environment.h"
|
||||
#include "shared/source/helpers/hw_info.h"
|
||||
#include "shared/source/helpers/string_helpers.h"
|
||||
|
||||
@@ -72,7 +71,8 @@ T *Program::create(
|
||||
|
||||
if (CL_SUCCESS == retVal) {
|
||||
|
||||
auto ail = pContext->getDevice(0)->getRootDeviceEnvironment().getAILConfigurationHelper();
|
||||
auto &hwInfo = pContext->getDevice(0)->getHardwareInfo();
|
||||
auto ail = AILConfiguration::get(hwInfo.platform.eProductFamily);
|
||||
if (ail) {
|
||||
ail->modifyKernelIfRequired(combinedString);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user