Move barrier flush property from csr to cmdQueue

Related-To: NEO-6982, HSD-15010621906

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2023-02-28 12:20:30 +00:00
committed by Compute-Runtime-Automation
parent 072233d170
commit 52d322e738
18 changed files with 119 additions and 90 deletions

View File

@@ -347,6 +347,9 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
void fillCsrDependenciesWithLastBcsPackets(CsrDependencies &csrDeps);
void clearLastBcsPackets();
void setStallingCommandsOnNextFlush(bool isStallingCommandsOnNextFlushRequired) { stallingCommandsOnNextFlushRequired = isStallingCommandsOnNextFlushRequired; }
bool isStallingCommandsOnNextFlushRequired() const { return stallingCommandsOnNextFlushRequired; }
// taskCount of last task
TaskCountType taskCount = 0;
@@ -448,6 +451,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
TimestampPacketContainer lastSignalledPacket;
};
std::array<BcsTimestampPacketContainers, bcsInfoMaskSize> bcsTimestampPacketContainers;
bool stallingCommandsOnNextFlushRequired = false;
};
template <typename PtrType>