mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3eefd8a4ad
commit
b7a73653a2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user