arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1802.05371cs.DC
收藏

计算绑定HPC核的输入感知自动调整

Input-Aware Auto-Tuning of Compute-Bound HPC Kernels

Philippe Tillet, David Cox

摘要:

用于并行架构的HPC应用的高效实现通常依赖于外部软件包(例如,BLAS、LAPACK、CUDNN)。虽然这些库为输入的某些特性(例如,正方形矩阵),它们通常不能在实践中遇到的广泛问题上保持最佳性能。在本文中,我们提出了一个矩阵乘法和卷积的输入感知自动调整框架ISAAC,它使用预测建模技术来驱动高度参数化的PTX代码模板,不仅面向硬件,而且面向应用程序特定的内核。在NVIDIA Maxwell和Pascal架构上进行的数值实验表明,仅经过几个小时的自动调整,性能就比cuBLAS和cuDNN提高了3倍。

英文摘要:

Efficient 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑