2021-05-18 10:46:21 +08:00
|
|
|
/*
|
2023-03-10 07:12:09 +08:00
|
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
2021-05-18 10:46:21 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "stream_properties.inl"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
struct StreamProperties {
|
|
|
|
StateComputeModeProperties stateComputeMode{};
|
|
|
|
FrontEndProperties frontEndState{};
|
2022-09-13 03:11:56 +08:00
|
|
|
PipelineSelectProperties pipelineSelect{};
|
2022-11-23 01:17:04 +08:00
|
|
|
StateBaseAddressProperties stateBaseAddress{};
|
2023-03-10 07:12:09 +08:00
|
|
|
|
|
|
|
void initSupport(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
|
|
|
stateComputeMode.initSupport(rootDeviceEnvironment);
|
|
|
|
frontEndState.initSupport(rootDeviceEnvironment);
|
|
|
|
pipelineSelect.initSupport(rootDeviceEnvironment);
|
|
|
|
stateBaseAddress.initSupport(rootDeviceEnvironment);
|
|
|
|
}
|
2023-04-04 06:03:02 +08:00
|
|
|
void resetState() {
|
|
|
|
stateComputeMode.resetState();
|
|
|
|
frontEndState.resetState();
|
|
|
|
pipelineSelect.resetState();
|
|
|
|
stateBaseAddress.resetState();
|
|
|
|
}
|
2021-05-18 10:46:21 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace NEO
|