mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
performance: add one time context init sip state to immediate flush task
Related-To: NEO-7808 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ba6ccdf5bd
commit
8836838c7c
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/command_stream/preemption_mode.h"
|
||||
#include "shared/source/device/device_info.h"
|
||||
#include "shared/source/helpers/engine_control.h"
|
||||
#include "shared/source/helpers/engine_node_helper.h"
|
||||
@@ -166,6 +167,9 @@ class Device : public ReferenceTrackedObject<Device> {
|
||||
uint32_t getNumberOfRegularContextsPerEngine() const { return numberOfRegularContextsPerEngine; }
|
||||
bool isMultiRegularContextSelectionAllowed(aub_stream::EngineType engineType, EngineUsage engineUsage) const;
|
||||
MOCKABLE_VIRTUAL void stopDirectSubmission();
|
||||
bool isStateSipRequired() const {
|
||||
return getPreemptionMode() == PreemptionMode::MidThread || getDebugger() != nullptr;
|
||||
}
|
||||
|
||||
std::atomic<uint32_t> debugExecutionCounter = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user