compute-runtime/shared/source/command_stream/stream_properties.h

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