mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Limit preemption programming in level zero command queues
When multiple command queues use the same context and retain the same state No preemption programming for copy command queues Program preemption preamble only for mid thread preemption Related-To: NEO-7187 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
17f22990e6
commit
0c301e5e99
@@ -348,6 +348,14 @@ class CommandStreamReceiver {
|
||||
isPreambleSent = value;
|
||||
}
|
||||
|
||||
PreemptionMode getPreemptionMode() const {
|
||||
return lastPreemptionMode;
|
||||
}
|
||||
|
||||
void setPreemptionMode(PreemptionMode value) {
|
||||
lastPreemptionMode = value;
|
||||
}
|
||||
|
||||
protected:
|
||||
void cleanupResources();
|
||||
void printDeviceIndex();
|
||||
|
||||
Reference in New Issue
Block a user