Correct Intermediate Language related implementation

Change-Id: Ib2bdd21c255245767df787797bb5cfe05482e489
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-10-08 12:21:58 +02:00
committed by sys_ocldev
parent 410e3c0ced
commit da524fa03d
12 changed files with 80 additions and 76 deletions

View File

@ -23,7 +23,6 @@ void Device::initializeCaps() {
auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
deviceInfo.ilVersion = "";
bool ocl21FeaturesEnabled = hwInfo.capabilityTable.supportsOcl21Features;
if (DebugManager.flags.ForceOCLVersion.get() != 0) {
ocl21FeaturesEnabled = (DebugManager.flags.ForceOCLVersion.get() == 21);
@ -32,7 +31,6 @@ void Device::initializeCaps() {
ocl21FeaturesEnabled = DebugManager.flags.ForceOCL21FeaturesSupport.get();
}
if (ocl21FeaturesEnabled) {
deviceInfo.ilVersion = spirvWithVersion;
addressing32bitAllowed = false;
}
@ -42,6 +40,7 @@ void Device::initializeCaps() {
deviceInfo.maxParameterSize = 2048;
deviceInfo.addressBits = 64;
deviceInfo.ilVersion = spirvWithVersion;
//copy system info to prevent misaligned reads
const auto systemInfo = hwInfo.gtSystemInfo;