Mixed precision LU factorization on GPU tensor cores: reducing data movement and memory footprint
Mixed precision LU factorization on GPU tensor cores: reducing data movement and memory footprint
复制标题
GPU 张量核心上的混合精度 LU 分解:减少数据移动和内存占用
DOI:
--
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Théo Mary
中科院分区:
文献类型:
--
作者:
Florent Lopez;Théo Mary
Modern GPUs equipped with mixed precision tensor core units present great potential to accelerate dense linear algebra operations such as LU factorization. However, state-of-the-art mixed half/single precision LU factorization algorithms all require the matrix to be stored in single precision, leading to expensive data movement and storage costs. This is explained by the fact that simply switching the storage precision from single to half leads to significant loss of accuracy, forfeiting all accuracy benefits from using tensor core technology. In this article, we propose a new factorization algorithm that is able to store the matrix in half precision without incurring any significant loss of accuracy. Our approach is based on a left-looking scheme employing single precision buffers of controlled size and a mixed precision doubly partitioned algorithm exploiting tensor cores in the panel factorizations. Our numerical results show that compared with the state of the art, the proposed approach is of similar accuracy but with only half the data movement and memory footprint, and hence potentially much faster: it achieves up to 2× and 3.5× speedups on V100 and A100 GPUs, respectively.