CLOGS
C++ library for sorting and searching in OpenCL applications
clogs::TunePolicy Class Reference

Public Member Functions

 TunePolicy (const TunePolicy &)
 
TunePolicyoperator= (const TunePolicy &)
 
void setEnabled (bool enabled)
 Specify whether on-the-fly tuning is permitted. More...
 
void setVerbosity (TuneVerbosity verbosity)
 Set the verbosity level. More...
 
void setOutput (std::ostream &out)
 Set the output stream for reporting tuning progress. More...
 

Friends

const detail::TunePolicy & detail::getDetail (const clogs::TunePolicy &)
 

Member Function Documentation

void clogs::TunePolicy::setEnabled ( bool  enabled)

Specify whether on-the-fly tuning is permitted.

If it is not permitted, then any attempt to construct an algorithm which isn't already tuned will throw clogs::CacheError. The default is that tuning is permitted.

void clogs::TunePolicy::setOutput ( std::ostream &  out)

Set the output stream for reporting tuning progress.

The default is std::cout.

void clogs::TunePolicy::setVerbosity ( TuneVerbosity  verbosity)

Set the verbosity level.

The default is TUNE_VERBOSITY_NORMAL.


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