Remove incorrect Debug break
- kernels using debug surface does not need to use only bindful buffers Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
parent
58055aecdf
commit
3e66f21df6
|
@ -612,8 +612,6 @@ void CommandQueue::enqueueBlockedMapUnmapOperation(const cl_event *eventWaitList
|
|||
|
||||
bool CommandQueue::setupDebugSurface(Kernel *kernel) {
|
||||
auto debugSurface = getGpgpuCommandStreamReceiver().getDebugSurfaceAllocation();
|
||||
|
||||
DEBUG_BREAK_IF(!kernel->usesBindfulAddressingForBuffers());
|
||||
auto surfaceState = ptrOffset(reinterpret_cast<uintptr_t *>(kernel->getSurfaceStateHeap()),
|
||||
kernel->getKernelInfo().kernelDescriptor.payloadMappings.implicitArgs.systemThreadSurfaceAddress.bindful);
|
||||
void *addressToPatch = reinterpret_cast<void *>(debugSurface->getGpuAddress());
|
||||
|
|
Loading…
Reference in New Issue