Files
compute-runtime/shared/test/unit_test/command_stream/stream_properties_tests.cpp
Filip Hazubski 7eb81e9d85 Unify StreamProperties structs
Introduce functions allowing to copy values from one struct to another,
while correctly setting values of isDirty field.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-05-27 15:37:14 +02:00

24 lines
616 B
C++

/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/command_stream/stream_properties.h"
#include "shared/test/unit_test/command_stream/stream_properties_tests_common.h"
namespace NEO {
std::vector<StreamProperty *> getAllStateComputeModeProperties(StateComputeModeProperties &properties) {
std::vector<StreamProperty *> allProperties;
allProperties.push_back(&properties.isCoherencyRequired);
return allProperties;
}
std::vector<StreamProperty *> getAllFrontEndProperties(FrontEndProperties &properties) {
return {};
}
} // namespace NEO