refactor: move process barrier with post sync to a function

Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2024-02-23 04:57:45 +00:00
committed by Compute-Runtime-Automation
parent 01a721df3e
commit 10d610d163
2 changed files with 66 additions and 50 deletions

View File

@@ -241,6 +241,14 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
bool areMultipleSubDevicesInContext,
bool setGeneralStateBaseAddress);
inline void processBarrierWithPostSync(LinearStream &commandStreamTask,
DispatchFlags &dispatchFlags,
bool &levelClosed,
void *&currentPipeControlForNooping,
void *&epiloguePipeControlLocation,
bool &hasStallingCmdsOnTaskStream,
PipeControlArgs &args);
inline CompletionStamp updateTaskCountAndGetCompletionStamp(bool levelClosed);
inline void programSamplerCacheFlushBetweenRedescribedSurfaceReads(LinearStream &commandStreamCSR);
bool bcsRelaxedOrderingAllowed(const BlitPropertiesContainer &blitPropertiesContainer, bool hasStallingCmds) const;