48 lines
842 B
C++
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
|