mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
feature: Adding support for zebin's .text section
Related-To: NEO-12229 Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a6149fca1a
commit
a1da10ea75
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
* Copyright (C) 2020-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -31,6 +31,7 @@ namespace Zebin {
|
||||
template <Elf::ElfIdentifierClass numBits = Elf::EI_CLASS_64>
|
||||
struct ZebinSections {
|
||||
using SectionHeaderData = NEO::Elf::SectionHeaderAndData<numBits>;
|
||||
StackVec<SectionHeaderData *, 1> textSections;
|
||||
StackVec<SectionHeaderData *, 32> textKernelSections;
|
||||
StackVec<SectionHeaderData *, 32> gtpinInfoSections;
|
||||
StackVec<SectionHeaderData *, 1> zeInfoSections;
|
||||
@@ -78,5 +79,7 @@ void setKernelMiscInfoPosition(ConstStringRef metadata, ProgramInfo &dst);
|
||||
|
||||
ConstStringRef getZeInfoFromZebin(const ArrayRef<const uint8_t> zebin, std::string &outErrReason, std::string &outWarning);
|
||||
|
||||
ConstStringRef getKernelNameFromSectionName(ConstStringRef sectionName);
|
||||
|
||||
} // namespace Zebin
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user