/* * Copyright (C) 2021-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/command_stream/stream_properties.h" #include "shared/test/common/helpers/default_hw_info.h" #include "shared/test/common/test_macros/test.h" #include "shared/test/unit_test/command_stream/stream_properties_tests_common.h" namespace NEO { std::vector getAllStateComputeModeProperties(StateComputeModeProperties &properties) { std::vector allProperties; allProperties.push_back(&properties.isCoherencyRequired); allProperties.push_back(&properties.largeGrfMode); allProperties.push_back(&properties.zPassAsyncComputeThreadLimit); allProperties.push_back(&properties.pixelAsyncComputeThreadLimit); allProperties.push_back(&properties.threadArbitrationPolicy); return allProperties; } std::vector getAllFrontEndProperties(FrontEndProperties &properties) { std::vector allProperties; allProperties.push_back(&properties.disableEUFusion); allProperties.push_back(&properties.disableOverdispatch); allProperties.push_back(&properties.singleSliceDispatchCcsMode); allProperties.push_back(&properties.computeDispatchAllWalkerEnable); return allProperties; } std::vector getAllPipelineSelectProperties(PipelineSelectProperties &properties) { std::vector allProperties; allProperties.push_back(&properties.modeSelected); allProperties.push_back(&properties.mediaSamplerDopClockGate); allProperties.push_back(&properties.systolicMode); return allProperties; } } // namespace NEO