mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Don't set the value when appending kernels. Related-To: NEO-5995 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
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
|