#include <UnionCondition.h>
Public Member Functions | |
| UnionCondition (const std::vector< std::shared_ptr< StopCondition > > &conditions) | |
| bool | IsFulfilled () const override |
| void | Initialize (const uint64_t configurationsCount) override |
| void | Update (const KernelResult &result) override |
| std::string | GetStatusString () const override |
Public Member Functions inherited from ktt::StopCondition | |
| virtual | ~StopCondition ()=default |
Class which implements stop condition which is fulfilled when any of the underlying conditions are met.
|
explicit |
Initializes union condition.
| conditions | Underlying conditions which are all evaluated, the union is fulfilled when at least one condition is met. |
|
overridevirtual |
Returns stop condition status string. Used for logging.
Implements ktt::StopCondition.
|
overridevirtual |
Performs initialization of stop condition. Called right before the tuning process begins.
| configurationsCount | Total count of generated configurations for the tuned kernel. |
Implements ktt::StopCondition.
|
overridevirtual |
Checks whether stop condition is fulfilled.
Implements ktt::StopCondition.
|
overridevirtual |
Performs update of stop condition. Called after each tested configuration.
| result | Result from the last tested configuration. See KernelResult for more information. |
Implements ktt::StopCondition.