Tensor Comprehensions
|
#include <parameters.h>
Public Member Functions | |
void | applyToParameters (const std::function< void(ParameterView &)> &f) |
std::vector< ParameterView > | collectParameters () |
TuningConfiguration () | |
TuningConfiguration (const MappingOptions &) | |
TuningConfiguration (const TuningConfiguration &)=default | |
TuningConfiguration & | operator= (const TuningConfiguration &)=default |
void | fromMappingOptions (const MappingOptions &options) |
void | applyToMappingOptions (MappingOptions &options) const |
void | addValidator (std::function< bool(const TuningConfiguration &)> v) |
bool | isValid () const |
void | fixParameters (const TuningParameterFixer &fixedParams) |
Private Attributes | |
std::vector< std::function < bool(const TuningConfiguration &)> > | validators_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TuningConfiguration &conf) |
tc::autotune::TuningConfiguration::TuningConfiguration | ( | ) |
tc::autotune::TuningConfiguration::TuningConfiguration | ( | const MappingOptions & | ) |
|
default |
void tc::autotune::TuningConfiguration::addValidator | ( | std::function< bool(const TuningConfiguration &)> | v | ) |
void tc::autotune::TuningConfiguration::applyToMappingOptions | ( | MappingOptions & | options | ) | const |
void tc::autotune::TuningConfiguration::applyToParameters | ( | const std::function< void(ParameterView &)> & | f | ) |
std::vector<ParameterView> tc::autotune::TuningConfiguration::collectParameters | ( | ) |
void tc::autotune::TuningConfiguration::fixParameters | ( | const TuningParameterFixer & | fixedParams | ) |
void tc::autotune::TuningConfiguration::fromMappingOptions | ( | const MappingOptions & | options | ) |
bool tc::autotune::TuningConfiguration::isValid | ( | ) | const |
|
default |
|
friend |
CudaDimParameters tc::autotune::TuningConfiguration::blockParams |
BoolParameter tc::autotune::TuningConfiguration::fixParametersBeforeScheduling |
CudaDimParameters tc::autotune::TuningConfiguration::gridParams |
SchedulerOptionsParameters tc::autotune::TuningConfiguration::intraTileScheduleOptions |
BoolParameter tc::autotune::TuningConfiguration::matchLibraryCalls |
SchedulerOptionsParameters tc::autotune::TuningConfiguration::outerScheduleOptions |
BoolParameter tc::autotune::TuningConfiguration::tileImperfectlyNested |
TilingParameters tc::autotune::TuningConfiguration::tilingParams |
BoolParameter tc::autotune::TuningConfiguration::unrollCopyShared |
RangeParameter tc::autotune::TuningConfiguration::unrollFactor |
BoolParameter tc::autotune::TuningConfiguration::usePrivateMemory |
BoolParameter tc::autotune::TuningConfiguration::useSharedMemory |
|
private |