mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
fix: don't setup preemption surface when debugger is active
Related-To: NEO-12878 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5b2f2f3d83
commit
552930a75f
@@ -715,7 +715,7 @@ CommandQueueHw<gfxCoreFamily>::CommandListExecutionContext::CommandListExecution
|
||||
this->firstCommandList = CommandList::fromHandle(commandListHandles[0]);
|
||||
this->lastCommandList = CommandList::fromHandle(commandListHandles[numCommandLists - 1]);
|
||||
|
||||
this->isDevicePreemptionModeMidThread = device->getDevicePreemptionMode() == NEO::PreemptionMode::MidThread;
|
||||
this->isDevicePreemptionModeMidThread = device->getDevicePreemptionMode() == NEO::PreemptionMode::MidThread && !this->isNEODebuggerActive(device);
|
||||
this->stateSipRequired = (this->isPreemptionModeInitial && this->isDevicePreemptionModeMidThread) ||
|
||||
(!sipSent && this->isNEODebuggerActive(device));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user