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

@@ -1365,7 +1365,11 @@ void KernelImp::patchBindlessOffsetsInCrossThreadData(uint64_t bindlessSurfaceSt
}
}
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
const auto bindlessHeapsHelper = this->module && this->module->getDevice()->getNEODevice()->getBindlessHeapsHelper();
if (!bindlessHeapsHelper) {
patchBindlessOffsetsForImplicitArgs(bindlessSurfaceStateBaseOffset);
}
}
void KernelImp::patchSamplerBindlessOffsetsInCrossThreadData(uint64_t samplerStateOffset) const {