Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tc::autotune::TuningConfiguration Class Reference

#include <parameters.h>

Collaboration diagram for tc::autotune::TuningConfiguration:

Public Member Functions

void applyToParameters (const std::function< void(ParameterView &)> &f)
 
std::vector< ParameterViewcollectParameters ()
 
 TuningConfiguration ()
 
 TuningConfiguration (const MappingOptions &)
 
 TuningConfiguration (const TuningConfiguration &)=default
 
TuningConfigurationoperator= (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)
 

Public Attributes

SchedulerOptionsParameters outerScheduleOptions
 
SchedulerOptionsParameters intraTileScheduleOptions
 
BoolParameter fixParametersBeforeScheduling
 
TilingParameters tilingParams
 
CudaDimParameters blockParams
 
CudaDimParameters gridParams
 
RangeParameter unrollFactor
 
BoolParameter tileImperfectlyNested
 
BoolParameter useSharedMemory
 
BoolParameter usePrivateMemory
 
BoolParameter unrollCopyShared
 
BoolParameter matchLibraryCalls
 

Private Attributes

std::vector< std::function
< bool(const
TuningConfiguration &)> > 
validators_
 

Friends

std::ostream & operator<< (std::ostream &os, const TuningConfiguration &conf)
 

Constructor & Destructor Documentation

tc::autotune::TuningConfiguration::TuningConfiguration ( )
tc::autotune::TuningConfiguration::TuningConfiguration ( const MappingOptions )
tc::autotune::TuningConfiguration::TuningConfiguration ( const TuningConfiguration )
default

Member Function Documentation

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
TuningConfiguration& tc::autotune::TuningConfiguration::operator= ( const TuningConfiguration )
default

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const TuningConfiguration conf 
)
friend

Member Data Documentation

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
std::vector<std::function<bool(const TuningConfiguration&)> > tc::autotune::TuningConfiguration::validators_
private

The documentation for this class was generated from the following file: