fix: global bindless offsets for implicit args

- do not patch bindless offsets for implicit args in with global bindless
allocator, the offsets are patched at kernel initialization time and
do not change

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-08-23 11:20:16 +00:00
committed by Compute-Runtime-Automation
parent 3e5dec27ef
commit c9e8931a18
4 changed files with 53 additions and 3 deletions

View File

@@ -2210,7 +2210,11 @@ void Kernel::patchBindlessOffsetsInCrossThreadData(uint64_t bindlessSurfaceState
}
}
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
const auto bindlessHeapsHelper = getDevice().getDevice().getBindlessHeapsHelper();
if (!bindlessHeapsHelper) {
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
}
}
void Kernel::setAdditionalKernelExecInfo(uint32_t additionalKernelExecInfo) {