ViennaCL - The Vienna Computing Library
1.5.1
|
class for a tuning parameter More...
#include <autotune.hpp>
Public Member Functions | |
tuning_param (std::vector< int > const &values) | |
The constructor. More... | |
bool | is_max () const |
Returns true if the parameter has reached its maximum value. More... | |
bool | inc () |
Increments the parameter. More... | |
int | current () const |
Returns the current value of the parameter. More... | |
void | reset () |
Resets the parameter to its minimum value. More... | |
class for a tuning parameter
|
inline |
The constructor.
values | The set of values which this particular tuning parameter can take |
|
inline |
Returns the current value of the parameter.
|
inline |
Increments the parameter.
|
inline |
Returns true if the parameter has reached its maximum value.
|
inline |
Resets the parameter to its minimum value.