refactor: move handle batched dispatch implicit flush code to function

Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2024-02-22 01:00:01 +00:00
committed by Compute-Runtime-Automation
parent eea0a7db61
commit 7b689aa464
2 changed files with 30 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2023 Intel Corporation
* Copyright (C) 2018-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -275,6 +275,8 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
ImmediateFlushData &flushData,
LinearStream &csrStream);
inline void handleBatchedDispatchImplicitFlush(uint64_t globalMemorySize, bool implicitFlush);
HeapDirtyState dshState;
HeapDirtyState iohState;
HeapDirtyState sshState;