feature: add support for 64bit cross thread offset relocation

Resolves: NEO-14865

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-05-07 11:10:32 +00:00
committed by Compute-Runtime-Automation
parent 52daf63a6f
commit a56785f8b0
3 changed files with 19 additions and 6 deletions

View File

@@ -267,7 +267,8 @@ struct Linker {
template <typename PatchSizeT>
void patchIncrement(void *dstAllocation, size_t relocationOffset, const void *initData, uint64_t incrementValue);
std::unordered_map<uint32_t /*ISA segment id*/, StackVec<uint32_t *, 2> /*implicit args relocation address to patch*/> pImplicitArgsRelocationAddresses;
/* <ISA segment id> to <implicit args relocation address to patch, relocation type> */
std::unordered_map<uint32_t, StackVec<std::pair<void *, RelocationInfo::Type>, 2>> pImplicitArgsRelocationAddresses;
};
static_assert(NEO::NonCopyableAndNonMovable<LinkerInput>);