Work

Optimizing Tensor Contractions on GPUs

Year: 2019
Type: article
Abstract: Tensor contractions are higher dimensional analogs of matrix multiplications.They form the key kernels in many computational contexts such as high order models in quantum chemistry, deep learning, finite element methods, etc.In contrast to the wide availability of high-performance libraries for matrix multiplication on GPUs, the same is not true for tensor contractions.This dissertation introduces approaches for optimizing tensor contractions on GPUs.Tensor contractions are computationally expensive.Hence, they bound the performance of many applications.For example, in the Cluster Singles and Doubles with perturbative Triples correction (CCSD(T)) method in NWChem (a widely used computational chemistry suite), tensor contractions are used to model reasonably large molecules.Tensor contractions, on average, account for bottleneck in the CCSD(T) method.The performance of tensor contractions can be improved by minimizing the data movement volume and exploiting the hardware features.For a sequence of tensor contractions, fusion is a powerful technique to reduce the data movement.Our tensor contraction kernels for CCSD(T) reduces the data traffic and achieves up to 8x speedup over state of the art techniques.Generating efficient codes for arbitrary tensor contractions is extremely difficult -especially for GPUs.The choice of mapping the tensor dimensions to various hardware thread dimensions such as thread blocks and warps determine the amount of 4.11 LoP of the combined classifier-based and regression-based models . .92 4.12 Model-Driven vs. NWChem vs. TAL SH for TCCG Benchmark on V100 (Volta) . . . . . . . . . . . . . .
Author: Kim, Jinsung
Language: English
Open Access status: green
OpenAlex ID: W6995464808
FWCI:
Cites: 56
Cited by:
Related to: 10