mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
performance(ocl): flag to not dcFlush on no event
If waitForBarrier is not passed outEvent then do dcFlush on the next synchronize call. Related-To: NEO-8147 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
faa8907344
commit
622a3ed89c
@@ -348,9 +348,12 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
void fillCsrDependenciesWithLastBcsPackets(CsrDependencies &csrDeps);
|
||||
void clearLastBcsPackets();
|
||||
|
||||
void setStallingCommandsOnNextFlush(bool isStallingCommandsOnNextFlushRequired) { stallingCommandsOnNextFlushRequired = isStallingCommandsOnNextFlushRequired; }
|
||||
void setStallingCommandsOnNextFlush(const bool isStallingCommandsOnNextFlushRequired) { stallingCommandsOnNextFlushRequired = isStallingCommandsOnNextFlushRequired; }
|
||||
bool isStallingCommandsOnNextFlushRequired() const { return stallingCommandsOnNextFlushRequired; }
|
||||
|
||||
void setDcFlushRequiredOnStallingCommandsOnNextFlush(const bool isDcFlushRequiredOnStallingCommandsOnNextFlush) { dcFlushRequiredOnStallingCommandsOnNextFlush = isDcFlushRequiredOnStallingCommandsOnNextFlush; }
|
||||
bool isDcFlushRequiredOnStallingCommandsOnNextFlush() const { return dcFlushRequiredOnStallingCommandsOnNextFlush; }
|
||||
|
||||
// taskCount of last task
|
||||
TaskCountType taskCount = 0;
|
||||
|
||||
@@ -460,6 +463,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
};
|
||||
std::array<BcsTimestampPacketContainers, bcsInfoMaskSize> bcsTimestampPacketContainers;
|
||||
bool stallingCommandsOnNextFlushRequired = false;
|
||||
bool dcFlushRequiredOnStallingCommandsOnNextFlush = false;
|
||||
bool splitBarrierRequired = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user