refactor: change data fields for encoder of additional walker fields

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2025-01-21 10:48:43 +00:00
committed by Compute-Runtime-Automation
parent 912bd8591a
commit 1e89058232
9 changed files with 43 additions and 46 deletions

View File

@@ -106,21 +106,21 @@ enum class CompareOperation : uint32_t {
struct EncodeWalkerArgs {
EncodeWalkerArgs() = delete;
EncodeWalkerArgs(const KernelDescriptor &kernelDescriptor, KernelExecutionType kernelExecutionType, NEO::RequiredDispatchWalkOrder requiredDispatchWalkOrder,
uint32_t localRegionSize, uint32_t maxFrontEndThreads, bool requiredSystemFence)
: kernelDescriptor(kernelDescriptor),
kernelExecutionType(kernelExecutionType),
EncodeWalkerArgs(KernelExecutionType kernelExecutionType, NEO::RequiredDispatchWalkOrder requiredDispatchWalkOrder,
uint32_t localRegionSize, uint32_t maxFrontEndThreads, bool requiredSystemFence, bool hasSample)
: kernelExecutionType(kernelExecutionType),
requiredDispatchWalkOrder(requiredDispatchWalkOrder),
localRegionSize(localRegionSize),
maxFrontEndThreads(maxFrontEndThreads),
requiredSystemFence(requiredSystemFence) {}
requiredSystemFence(requiredSystemFence),
hasSample(hasSample) {}
const KernelDescriptor &kernelDescriptor;
KernelExecutionType kernelExecutionType = KernelExecutionType::defaultType;
NEO::RequiredDispatchWalkOrder requiredDispatchWalkOrder = NEO::RequiredDispatchWalkOrder::none;
uint32_t localRegionSize = NEO::localRegionSizeParamNotSet;
uint32_t maxFrontEndThreads = 0;
bool requiredSystemFence = false;
bool hasSample = false;
};
template <typename GfxFamily>