33 lines
887 B
C++
33 lines
887 B
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/command_stream/stream_property.h"
|
|
|
|
namespace NEO {
|
|
|
|
struct StateComputeModeProperties {
|
|
StreamProperty isCoherencyRequired{};
|
|
StreamProperty largeGrfMode{};
|
|
|
|
void setProperties(bool requiresCoherency, uint32_t numGrfRequired, uint32_t threadArbitrationPolicy);
|
|
void setProperties(const StateComputeModeProperties &properties);
|
|
bool isDirty();
|
|
void clearIsDirty();
|
|
};
|
|
|
|
struct FrontEndProperties {
|
|
StreamProperty disableOverdispatch{};
|
|
StreamProperty singleSliceDispatchCcsMode{};
|
|
|
|
void setProperties(bool isCooperativeKernel, bool disableOverdispatch, int32_t engineInstancedDevice, const HardwareInfo &hwInfo);
|
|
void setProperties(const FrontEndProperties &properties);
|
|
bool isDirty();
|
|
void clearIsDirty();
|
|
};
|
|
|
|
} // namespace NEO
|