Tillet, PhilippeCox, David2022-10-312017-11-12Philippe Tillet and David Cox. Input-Aware Auto-Tuning of Compute-Bound HPC Kernels. International Conference for High Performance Computing, Networking, Storage, and Analysis (SC17), November 12–17, 2017, Denver, CO, USAhttps://nrs.harvard.edu/URN-3:HUL.INSTREPOS:37373464Efficient implementations of HPC applications for parallel architectures generally rely on external software packages (e.g., BLAS, LAPACK, CUDNN). While these libraries provide highly optimized routines for certain characteristics of inputs (e.g., square matrices), they generally do not retain optimal performance across the wide range of problems encountered in practice. In this paper, we present an input-aware auto-tuning framework for matrix multiplications and convolutions, ISAAC, which uses predictive modeling techniques to drive highly parameterized PTX code templates towards not only hardware-, but also application-specific kernels. Numerical experiments on the NVIDIA Maxwell and Pascal architectures show up to 3x performance gains over both cuBLAS and cuDNN after only a few hours of auto-tuning.en-USInput-aware auto-tuning of compute-bound HPC kernelsConference Paper2018-01-3020172022-10-3110.1145/3126908.3126939