Multitask and Transfer Learning for Autotuning Exascale Applications