Config
-
struct Config : public kernel_launcher::Eval
A particular configuration from a
ConfigSpace
. This class is essentially a lookup table that mapsTunableParam
s toValue
s.Public Functions
-
void insert(TunableParam k, Value v)
Insert a
TunableParam
with the associatedValue
.
-
inline const Value &operator[](const std::string &name) const
Returns the value that corresponds to the parameter with the given name.
-
inline const Value &operator[](const TunableParam ¶m) const
Returns the value that corresponds to the given parameter.
-
inline const Value &operator[](const ParamExpr ¶m) const
Returns the value that corresponds to the given parameter.
-
inline size_t size() const
Returns the number of parameters in this configuration.
-
void insert(TunableParam k, Value v)