|
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. | |
| bool | is_max () const |
| Returns true if the parameter has reached its maximum value. | |
| bool | inc () |
| Increments the parameter. | |
| int | current () const |
| Returns the current value of the parameter. | |
| void | reset () |
| Resets the parameter to its minimum value. | |
class for a tuning parameter
| tuning_param | ( | std::vector< int > const & | values | ) | [inline] |
The constructor.
| values | The set of values which this particular tuning parameter can take |
| int current | ( | ) | const [inline] |
Returns the current value of the parameter.
| bool inc | ( | ) | [inline] |
Increments the parameter.
| bool is_max | ( | ) | const [inline] |
Returns true if the parameter has reached its maximum value.
| void reset | ( | ) | [inline] |
Resets the parameter to its minimum value.
1.7.6.1