In #2401 we added a chunk size parameter for scans. Setting this parameter to an optimal size can have a dramatic impact on performance. The default is decent, but not optimal. Currently, finding the optimal size is a manual process, and must in principle be repeated for every scan instance. It would be lovely if futhark autotune could be extended with support for tuning this parameter. Similarly, it would also be good if futhark autotune could define user-defined tuning parameters. A simple design is that the user specifies a parameter name and the search bounds - this saves us from having to build any particular cleverness into the tuner.
In #2401 we added a chunk size parameter for scans. Setting this parameter to an optimal size can have a dramatic impact on performance. The default is decent, but not optimal. Currently, finding the optimal size is a manual process, and must in principle be repeated for every scan instance. It would be lovely if
futhark autotunecould be extended with support for tuning this parameter. Similarly, it would also be good iffuthark autotunecould define user-defined tuning parameters. A simple design is that the user specifies a parameter name and the search bounds - this saves us from having to build any particular cleverness into the tuner.