refactor: remove not needed code related to deprecated device ip version

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-07-05 08:09:09 +00:00
committed by Compute-Runtime-Automation
parent aa3e2ccfe8
commit 4f4b8fed15
19 changed files with 16 additions and 139 deletions

View File

@@ -259,13 +259,8 @@ cl_int ClDevice::getDeviceInfo(cl_device_info paramName,
retSize = srcSize = deviceInfo.supportedThreadArbitrationPolicies.size() * sizeof(cl_uint);
break;
case CL_DEVICE_IP_VERSION_INTEL: {
if (debugManager.flags.UseDeprecatedClDeviceIpVersion.get()) {
auto &clGfxCoreHelper = this->getRootDeviceEnvironment().getHelper<ClGfxCoreHelper>();
param.uint = clGfxCoreHelper.getDeviceIpVersion(getHardwareInfo());
} else {
auto &compilerProductHelper = device.getCompilerProductHelper();
param.uint = static_cast<cl_version>(compilerProductHelper.getHwIpVersion(getHardwareInfo()));
}
auto &compilerProductHelper = device.getCompilerProductHelper();
param.uint = static_cast<cl_version>(compilerProductHelper.getHwIpVersion(getHardwareInfo()));
src = &param.uint;
retSize = srcSize = sizeof(cl_version);
break;