mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
Add capability to csr to allow N:1 aggregation when ooq is created.
- This allows applications to force the N:1 aggregation by creating out of order queue. - That switches csr to N:1 submission model where commands from multiple command streams may be aggregated. - That forces scenarios returning an event to be aggregated as well. Change-Id: I8fd8d7f88bb2665234ee90870133120b206710a8
This commit is contained in:
committed by
sys_ocldev
parent
82c9acddde
commit
34ff5852eb
@@ -104,6 +104,8 @@ class CommandStreamReceiver {
|
||||
|
||||
uint32_t peekLatestFlushedTaskCount() const { return latestFlushedTaskCount; }
|
||||
|
||||
void enableNTo1SubmissionModel() { this->nTo1SubmissionModelEnabled = true; }
|
||||
bool isNTo1SubmissionModelEnabled() const { return this->nTo1SubmissionModelEnabled; }
|
||||
void overrideDispatchPolicy(DispatchMode overrideValue) { this->dispatchMode = overrideValue; }
|
||||
|
||||
virtual void overrideMediaVFEStateDirty(bool dirty) { mediaVfeStateDirty = dirty; }
|
||||
@@ -173,6 +175,7 @@ class CommandStreamReceiver {
|
||||
std::unique_ptr<OSInterface> osInterface;
|
||||
std::unique_ptr<SubmissionAggregator> submissionAggregator;
|
||||
|
||||
bool nTo1SubmissionModelEnabled = false;
|
||||
DispatchMode dispatchMode = DispatchMode::ImmediateDispatch;
|
||||
bool disableL3Cache = false;
|
||||
uint32_t requiredScratchSize = 0;
|
||||
|
||||
Reference in New Issue
Block a user