An extensible framework for program autotuning