2021-05-18 02:46:21 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2021 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "shared/source/command_stream/stream_property.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
|
|
struct StateComputeModeProperties {
|
|
|
|
|
StreamProperty isCoherencyRequired{};
|
2021-07-07 13:34:46 +00:00
|
|
|
StreamProperty largeGrfMode{};
|
2021-05-18 02:46:21 +00:00
|
|
|
|
2021-06-18 11:29:03 +00:00
|
|
|
void setProperties(bool requiresCoherency, uint32_t numGrfRequired, uint32_t threadArbitrationPolicy);
|
2021-05-26 13:51:11 +00:00
|
|
|
void setProperties(const StateComputeModeProperties &properties);
|
2021-05-18 02:46:21 +00:00
|
|
|
bool isDirty();
|
|
|
|
|
void clearIsDirty();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct FrontEndProperties {
|
2021-07-28 17:17:51 +00:00
|
|
|
StreamProperty disableOverdispatch{};
|
2021-08-13 14:48:13 +00:00
|
|
|
StreamProperty singleSliceDispatchCcsMode{};
|
2021-07-28 17:17:51 +00:00
|
|
|
|
2021-09-03 18:09:25 +00:00
|
|
|
void setProperties(bool isCooperativeKernel, bool disableOverdispatch, int32_t engineInstancedDevice, const HardwareInfo &hwInfo);
|
2021-05-26 13:51:11 +00:00
|
|
|
void setProperties(const FrontEndProperties &properties);
|
|
|
|
|
bool isDirty();
|
|
|
|
|
void clearIsDirty();
|
2021-05-18 02:46:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace NEO
|