Files
compute-runtime/shared/source/helpers/definitions/command_encoder_args.h
Mateusz Jablonski fca28a930f refactor: correct naming of enum class constants 7/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-18 13:05:56 +01:00

48 lines
842 B
C++

/*
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
#include <limits>
namespace NEO {
struct RootDeviceEnvironment;
struct EncodeDummyBlitWaArgs {
bool isWaRequired = false;
RootDeviceEnvironment *rootDeviceEnvironment = nullptr;
};
struct MiFlushArgs {
bool timeStampOperation = false;
bool commandWithPostSync = false;
bool notifyEnable = false;
bool tlbFlush = false;
EncodeDummyBlitWaArgs &waArgs;
MiFlushArgs(EncodeDummyBlitWaArgs &args) : waArgs(args) {}
};
enum class RequiredPartitionDim : uint32_t {
none = 0,
x,
y,
z
};
enum class RequiredDispatchWalkOrder : uint32_t {
none = 0,
x,
y,
additional
};
static constexpr uint32_t additionalKernelLaunchSizeParamNotSet = 0;
} // namespace NEO