Files
compute-runtime/shared/source/command_stream/definitions/stream_properties.inl
Filip Hazubski 23cea464fe Correct setting singleSliceDispatchCcsMode value
Don't set the value when appending kernels.

Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-09-07 10:40:36 +02:00

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