fix: set sync buffer ptr in implicit args

Related-To: NEO-15737

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2025-08-04 11:31:26 +00:00
committed by Compute-Runtime-Automation
parent 3eefd8a4ad
commit b7a73653a2
4 changed files with 68 additions and 0 deletions

View File

@@ -1774,6 +1774,9 @@ void Kernel::patchSyncBuffer(GraphicsAllocation *gfxAllocation, size_t bufferOff
Buffer::setSurfaceState(&clDevice.getDevice(), surfaceState, false, false, sizeToPatch, addressToPatch, 0, gfxAllocation, 0, 0,
areMultipleSubDevicesInContext());
}
if (pImplicitArgs) {
pImplicitArgs->setSyncBufferPtr(ptrOffset(gfxAllocation->getGpuAddressToPatch(), bufferOffset));
}
}
bool Kernel::isPatched() const {