mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Remove KernelArgInfo and use KernelDescriptor's args instead
Related-To: NEO-4729 Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
215051c48f
commit
ef71915c71
@@ -536,7 +536,7 @@ void CommandQueue::enqueueBlockedMapUnmapOperation(const cl_event *eventWaitList
|
||||
bool CommandQueue::setupDebugSurface(Kernel *kernel) {
|
||||
auto debugSurface = getGpgpuCommandStreamReceiver().getDebugSurfaceAllocation();
|
||||
|
||||
DEBUG_BREAK_IF(!kernel->requiresSshForBuffers());
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user