A Demo Project of using evolutionary algorithms to solve the compiler optimization sequence selection problem.
We use PolyBench and cBench from ctuning-programs.
$ pip install ck
$ ck pull ck pull repo:ck-env
$ ck pull repo:ck-autotuning
$ ck pull repo:ctuning-programs
$ ck pull repo:ctuning-datasets-min
Then you compile and run programs in datasets as follows:
$ ck compile program:cbench-automotive-susan --speed
$ ck run program:cbench-automotive-susan
python main.py -d {dataset name} -m {model name}