39 : _dataset_mode{ mode }, _name_filter{ name_filter }, _id_filter{ parse_id_filter(id_filter) }
50 if(!std::regex_search(info.
name, _name_filter))
55 if(!_id_filter.empty())
59 for(
const auto range : _id_filter)
61 if(range.first <= info.
id && info.
id <= range.second)
77 TestFilter::Ranges TestFilter::parse_id_filter(
const std::string &id_filter)
const 81 bool in_range =
false;
86 std::stringstream stream(id_filter);
89 std::getline(stream, str,
',');
96 if(str.find(
"...") != std::string::npos)
108 std::getline(stream, str,
',');
115 if(str.find(
"...") != std::string::npos)
124 if(in_range || end == value - 1)
131 ranges.emplace_back(start, end);
138 ranges.emplace_back(start, end);
src info() -> set_format(Format::S16)
This file contains all available output stages for GEMMLowp on OpenCL.
DatasetMode
Possible dataset modes.
Information about a test case.
bool is_selected(const TestInfo &info) const
Check if a test case is selected to be executed.
int stoi(Ts &&...args)
Convert string values to integer.
TestFilter()=default
Default constructor.
fixed_point< T > max(fixed_point< T > x, fixed_point< T > y)