mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
performance: Stop direct submission before removing host ptrs
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
387ec34207
commit
7e6a08098b
@@ -462,7 +462,9 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
void stopDirectSubmission(bool blocking) override {
|
||||
stopDirectSubmissionCalled = true;
|
||||
stopDirectSubmissionCalledBlocking = blocking;
|
||||
BaseClass::stopDirectSubmission(blocking);
|
||||
if (this->callBaseStopDirectSubmission) {
|
||||
BaseClass::stopDirectSubmission(blocking);
|
||||
}
|
||||
}
|
||||
|
||||
bool waitUserFence(TaskCountType waitValue, uint64_t hostAddress, int64_t timeout, bool userInterrupt, uint32_t externalInterruptId, GraphicsAllocation *allocForInterruptWait) override {
|
||||
@@ -527,6 +529,7 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
bool flushBatchedSubmissionsCalled = false;
|
||||
bool flushTagUpdateCalled = false;
|
||||
bool callFlushTagUpdate = true;
|
||||
bool callBaseStopDirectSubmission = true;
|
||||
bool initProgrammingFlagsCalled = false;
|
||||
bool multiOsContextCapable = false;
|
||||
bool memoryCompressionEnabled = false;
|
||||
|
||||
Reference in New Issue
Block a user