From 3e66f21df6eafd32b4a5c7feea1afdc964f16bbd Mon Sep 17 00:00:00 2001 From: Mateusz Hoppe Date: Thu, 27 Jan 2022 17:25:21 +0000 Subject: [PATCH] Remove incorrect Debug break - kernels using debug surface does not need to use only bindful buffers Signed-off-by: Mateusz Hoppe --- opencl/source/command_queue/command_queue.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/opencl/source/command_queue/command_queue.cpp b/opencl/source/command_queue/command_queue.cpp index 3e60bc76a3..ffe7e3945f 100644 --- a/opencl/source/command_queue/command_queue.cpp +++ b/opencl/source/command_queue/command_queue.cpp @@ -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(kernel->getSurfaceStateHeap()), kernel->getKernelInfo().kernelDescriptor.payloadMappings.implicitArgs.systemThreadSurfaceAddress.bindful); void *addressToPatch = reinterpret_cast(debugSurface->getGpuAddress());