jansel / opentuner

An extensible framework for program autotuning
http://opentuner.org/
MIT License
382 stars 112 forks source link

Getting the best result #124

Open joyouskoala opened 5 years ago

joyouskoala commented 5 years ago

After tuning, we can print or save the best configuration using save_final_config. However there is no similar function to automatically save the best result obtained from that config.

joyouskoala commented 5 years ago

At the moment the way to do this is to use

self.driver.results_query(config=configuration, objective_ordered=True)[0].time

in save_final_config, but this is nontrivial.

jansel commented 5 years ago

Adding a helper function to make this easier would be a good improvement.