Files
compute-runtime/shared/source/command_stream/stream_properties.h
Zbigniew Zdanowicz f3324964f6 [perf] initialize stream properties only once without further check
Related-To: NEO-5055

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-03-10 17:50:49 +01:00

29 lines
715 B
C++

/*
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "stream_properties.inl"
namespace NEO {
struct StreamProperties {
StateComputeModeProperties stateComputeMode{};
FrontEndProperties frontEndState{};
PipelineSelectProperties pipelineSelect{};
StateBaseAddressProperties stateBaseAddress{};
void initSupport(const RootDeviceEnvironment &rootDeviceEnvironment) {
stateComputeMode.initSupport(rootDeviceEnvironment);
frontEndState.initSupport(rootDeviceEnvironment);
pipelineSelect.initSupport(rootDeviceEnvironment);
stateBaseAddress.initSupport(rootDeviceEnvironment);
}
};
} // namespace NEO