28 #ifndef PARALLEL_PARAMS_H
29 #define PARALLEL_PARAMS_H
47 virtual void SetParallelDims(
const std::array<unsigned int, 2>& parallelDims) = 0;
64 const std::array<unsigned int, 2>& p_params_curr_run,
65 const RunData& curr_run_data) = 0;
82 const std::array<unsigned int, 2>& kernel_location)
const = 0;
Declares class to store headers with data corresponding to current program run and evaluation.
Abstract class for holding and processing parallelization parameters. Child class(es) specific to im...
virtual void AddTestResultsForParallelParams(const std::array< unsigned int, 2 > &p_params_curr_run, const RunData &curr_run_data)=0
Add results from run with same specified parallel parameters used every parallel component.
virtual RunData AsRunData() const =0
Retrieve current parallel parameters as RunData type.
virtual void SetOptimizedParams()=0
Retrieve optimized parameters from results across multiple runs with different parallel parameters an...
virtual void SetParallelDims(const std::array< unsigned int, 2 > ¶llelDims)=0
Set parallel parameters for each kernel to the same input dimensions.
virtual std::array< unsigned int, 2 > OptParamsForKernel(const std::array< unsigned int, 2 > &kernel_location) const =0
Get optimized parallel parameters for parallel processing kernel for kernel that is indexed as an arr...
Class to store headers with data corresponding to current program run and evaluation.