28 #ifndef RUNSETTINGS_H_
29 #define RUNSETTINGS_H_
32 #include <string_view>
58 template <AccSetting ACCELERATION_SETTING>
66 std::thread::hardware_concurrency());
88 std::pair<std::array<unsigned int, 2>, std::set<std::array<unsigned int, 2>>>
94 std::vector<std::pair<std::string, std::vector<InputSignature>>>
105 [min_threads](
const auto& p_params) {
106 return p_params[0] < min_threads; });
116 [max_threads](
const auto& p_params) {
117 return p_params[0] > max_threads; });
Declares class for setting and retrieving setting of CPU threads pinned to socket.
Declares class to store headers with data corresponding to current program run and evaluation.
Contains namespace with constants and enums related to run environment and settings for run.
Class to adjust and retrieve settings corresponding to CPU threads pinned to socket.
Class to store headers with data corresponding to current program run and evaluation.
void AppendData(const RunData &rundata)
Append current RunData with input RunData.
void AddDataWHeader(const std::string &header, const std::string &data)
Add string data with header describing added data.
Constants and enums related to run environment and settings for run.
constexpr std::string_view kBytesAlignMemHeader
AccSetting
Enum for acceleration setting.
RunData RunSettings()
Generate RunData object that contains description header with corresponding value for each run settin...
constexpr std::string_view kNumCPUThreadsHeader
unsigned int GetBytesAlignMemory(AccSetting accel_setting)
OptParallelParamsSetting
Enum to specify if optimizing parallel parameters per kernel or using same parallel parameters across...
TemplatedItersSetting
Enum that specifies whether or not to use templated counts for the number of iterations in processing...
Structure that stores settings for current implementation run.
TemplatedItersSetting templated_iters_setting
std::optional< std::array< std::string_view, 2 > > baseline_runtimes_path_desc
std::vector< unsigned int > datatypes_eval_sizes
std::pair< std::array< unsigned int, 2 >, std::set< std::array< unsigned int, 2 > > > p_params_default_alt_options
OptParallelParamsSetting opt_parallel_params_setting
std::vector< std::pair< std::string, std::vector< InputSignature > > > subset_desc_input_sig
void RemoveParallelParamBelowMinThreads(unsigned int min_threads)
Remove parallel parameters with less than specified number of threads.
void RemoveParallelParamAboveMaxThreads(unsigned int max_threads)
Remove parallel parameters with greater than specified number of threads.
bool run_alt_optimized_imps