fix(zebin): Do not use NT_INTELGT_PRODUCT_CONFIG for target device validation

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
Kacper Nowak
2023-07-04 15:23:31 +00:00
committed by Compute-Runtime-Automation
parent 5b9d45f3bc
commit 1fba2a162e
2 changed files with 0 additions and 35 deletions

View File

@@ -124,9 +124,6 @@ bool validateTargetDevice(const Elf::Elf<numBits> &elf, const TargetDevice &targ
break;
}
case Elf::IntelGTSectionType::ProductConfig: {
DEBUG_BREAK_IF(sizeof(uint32_t) != intelGTNote.data.size());
auto productConfigData = reinterpret_cast<const uint32_t *>(intelGTNote.data.begin());
productConfig = static_cast<AOT::PRODUCT_CONFIG>(*productConfigData);
break;
}
case Elf::IntelGTSectionType::vISAAbiVersion: {