Add oclock option to force stateless to stateful optimization

Related-To: NEO-2993

Change-Id: I9668053aa749534d09501bfccb1a9b93e69f0e4e
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2020-01-28 11:24:36 +01:00
committed by sys_ocldev
parent 1b634ed6be
commit 7fe6a2fbed
13 changed files with 137 additions and 77 deletions

View File

@@ -509,7 +509,7 @@ bool CommandQueue::setupDebugSurface(Kernel *kernel) {
kernel->getKernelInfo().patchInfo.pAllocateSystemThreadSurface->Offset);
void *addressToPatch = reinterpret_cast<void *>(debugSurface->getGpuAddress());
size_t sizeToPatch = debugSurface->getUnderlyingBufferSize();
Buffer::setSurfaceState(device, surfaceState, sizeToPatch, addressToPatch, debugSurface);
Buffer::setSurfaceState(device, surfaceState, sizeToPatch, addressToPatch, 0, debugSurface, 0, 0);
return true;
}