mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "fix: correctly set unpacked device binary prior decoding"
This reverts commit f7188038b4.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7829d93b92
commit
c65de3df7f
@@ -61,7 +61,6 @@ SingleDeviceBinary unpackSingleZebin(const ArrayRef<const uint8_t> archive, cons
|
||||
if (elf.elfFileHeader->machine == Elf::ElfMachine::EM_INTELGT) {
|
||||
validForTarget &= Zebin::validateTargetDevice(elf, requestedTargetDevice, outErrReason, outWarning, ret);
|
||||
} else {
|
||||
Zebin::validateTargetDevice(elf, requestedTargetDevice, outErrReason, outWarning, ret);
|
||||
const auto &flags = reinterpret_cast<const NEO::Zebin::Elf::ZebinTargetFlags &>(elf.elfFileHeader->flags);
|
||||
validForTarget &= flags.machineEntryUsesGfxCoreInsteadOfProductFamily
|
||||
? (requestedTargetDevice.coreFamily == static_cast<GFXCORE_FAMILY>(elf.elfFileHeader->machine))
|
||||
|
||||
Reference in New Issue
Block a user