mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: set IGC as default generator prior decoding zebin
Related-To: NEO-16231, NEO-16167
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
Source: d4ef7dae26
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5c9cd66f34
commit
c38053f404
@@ -116,7 +116,7 @@ DecodeError decodeSingleZebin(ProgramInfo &dst, const SingleDeviceBinary &src, s
|
||||
}
|
||||
|
||||
GeneratorFeatureVersions generatorFeatures = {};
|
||||
GeneratorType generator = {};
|
||||
GeneratorType generator = {GeneratorType::igc};
|
||||
auto ret = Zebin::validateTargetDevice(elf, src.targetDevice, outErrReason, outWarning, generatorFeatures, generator);
|
||||
if (!ret && elf.elfFileHeader->machine == Elf::ElfMachine::EM_INTELGT) {
|
||||
return DecodeError::invalidBinary;
|
||||
|
||||
Reference in New Issue
Block a user