mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Source Level Debugger device debugger active flag
- device flag indicating if debugger is active - when active, proper sip kernels must be used Change-Id: I678367cdf8fab5d4b5770e3f471246ff6d6bd112
This commit is contained in:
committed by
sys_ocldev
parent
6bf4135def
commit
9a86f86a24
@@ -313,7 +313,8 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
|
||||
makeResident(*preemptionCsrAllocation);
|
||||
|
||||
if (dispatchFlags.preemptionMode == PreemptionMode::MidThread) {
|
||||
makeResident(*BuiltIns::getInstance().getSipKernel(SipKernelType::Csr, *device).getSipAllocation());
|
||||
auto sipType = SipKernel::getSipKernelType(device->getHardwareInfo().pPlatform->eRenderCoreFamily, device->isSourceLevelDebuggerActive());
|
||||
makeResident(*BuiltIns::getInstance().getSipKernel(sipType, *device).getSipAllocation());
|
||||
}
|
||||
|
||||
// If the CSR has work in its CS, flush it before the task
|
||||
|
||||
Reference in New Issue
Block a user