A Code Generator for High-Performance Tensor Contractions on GPUs
A Code Generator for High-Performance Tensor Contractions on GPUs
复制标题
DOI:
10.1109/cgo.2019.8661182
复制
发表时间:
2019-02
期刊:
影响因子:
--
通讯作者:
Jinsung Kim;Aravind Sukumaran-Rajam;V. Thumma;S. Krishnamoorthy;Ajay Panyala;L. Pouchet;A. Rountev;P. Sadayappan
中科院分区:
文献类型:
--
作者:
Jinsung Kim;Aravind Sukumaran-Rajam;V. Thumma;S. Krishnamoorthy;Ajay Panyala;L. Pouchet;A. Rountev;P. Sadayappan
Tensor contractions are higher dimensional generalizations of matrix-matrix multiplication. They form the compute-intensive core of many applications in computational science and data science. In this paper, we describe a high-performance GPU code generator for arbitrary tensor contractions. It exploits domain-specific properties about data reuse in tensor contractions to devise an effective code generation schema, coupled with an effective model-driven search, to determine parameters for mapping of computation to threads and staging of data through the GPU memory hierarchy. Experimental evaluation using a set of tensor contraction benchmarks demonstrates performance improvement and/or significantly reduced code generation time over other state-of-the-art tensor contraction libraries and code generators.