mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
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:
committed by
Compute-Runtime-Automation
parent
aa3e2ccfe8
commit
4f4b8fed15
@@ -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 = ¶m.uint;
|
||||
retSize = srcSize = sizeof(cl_version);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user