CLOGS
C++ library for sorting and searching in OpenCL applications
|
Public Member Functions | |
TunePolicy (const TunePolicy &) | |
TunePolicy & | operator= (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 &) |
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
.