jansel / opentuner

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

gccflags.py --flags-histogram meaning #140

Open TimHuDi opened 4 years ago

TimHuDi commented 4 years ago

I want to figure out the meaning of --flags-histogram,but cannot get it from the source code.

jansel commented 4 years ago

It is for debugging/analysis. It prints out the top 20 flags most commonly used in the final (best) configurations over past training runs. So if you train a single program say 30 times, you can figure out which flags occur most commonly in the winning config.