DOE OSTI · 1617877
A Code Generator for High-Performance Tensor Contractions on GPUs
Abstract
Tensor contractions are higher dimensional generalizations of matrix-matrix multiplication. They form the compute-intensive core for many applications in computational science and data science. Although high-performance library implementations are widely available for dense matrix-matrix multiplication on GPUs, the same is not true for contraction of dense tensors. 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.
Keep this discovery
Explore connections, maps & timelines
Kim, Jinsung, Sukumaran-Rajan, Aravind, Thumma, Vineeth, Krishnamoorthy, Sriram, Panyala, Ajay R., Pouchet, Louis-Noel, Rountev, Atanas, Sadayappan, Ponnuswamy. 2019-02-20. A Code Generator for High-Performance Tensor Contractions on GPUs. https://doi.org/10.1109/cgo.2019.8661182
Cite the original work for its findings. Save a collection to share your selection of sources.