mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
refactor: move preparing flush task batch buffer to a function
Related-To: NEO-7824 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
40cea2f6fe
commit
01a721df3e
@@ -278,6 +278,23 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
|
||||
inline void handleBatchedDispatchImplicitFlush(uint64_t globalMemorySize, bool implicitFlush);
|
||||
|
||||
inline BatchBuffer prepareBatchBufferForSubmission(LinearStream &commandStreamTask,
|
||||
size_t commandStreamStartTask,
|
||||
LinearStream &commandStreamCSR,
|
||||
size_t commandStreamStartCSR,
|
||||
DispatchFlags &dispatchFlags,
|
||||
Device &device,
|
||||
bool submitTask,
|
||||
bool submitCSR,
|
||||
bool hasStallingCmdsOnTaskStream);
|
||||
|
||||
inline void chainCsrWorkToTask(LinearStream &commandStreamCSR,
|
||||
LinearStream &commandStreamTask,
|
||||
size_t commandStreamStartTask,
|
||||
void *bbEndLocation,
|
||||
size_t &chainedBatchBufferStartOffset,
|
||||
GraphicsAllocation *&chainedBatchBuffer);
|
||||
|
||||
HeapDirtyState dshState;
|
||||
HeapDirtyState iohState;
|
||||
HeapDirtyState sshState;
|
||||
|
||||
Reference in New Issue
Block a user