arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.23385cs.DBcs.ET
收藏

GPU上的Figaro:两表

Figaro on GPUs: Two Tables

Dorde Zivanovic

AI总结:

本文提出Figaro-GPU算法,在GPU上高效计算两表自然连接矩阵的QR和SVD分解,通过符号变换与并行计算结合,性能提升与连接/输入大小比成正比,内存使用大幅减少。

摘要:

本文介绍了Figaro-GPU算法的实现,该算法用于在GPU上计算由两个表自然连接定义的连接矩阵的QR分解和SVD分解。Figaro-GPU的主要新颖之处在于Figaro算法的GPU实现:符号变换与GPU并行化计算相结合。这带来了与连接和输入大小之比成正比的理论性能提升。在合成表的实验中,对于计算上三角矩阵和右奇异向量矩阵,Figaro-GPU在运行时间上优于NVIDIA cuSolver库,上三角矩阵的性能提升因子与连接和输入大小之间的差距成正比,对于NVIDIA 2070,该因子在5倍到150倍之间变化,对于NVIDIA 4080最高可达160倍,同时使用的内存比GPU cuSolver少多达1000倍。对于计算奇异值,Figaro-GPU在运行时间上优于NVIDIA cuSolver库,对于NVIDIA 4080,性能提升从2.8倍到31倍不等。

英文摘要:

This paper introduces the implementation of the Figaro-GPU algorithm for computing a QR and SVD decomposition over a join matrix defined by the natural join over two tables on GPUs. Figaro-GPU's main novelty is a GPU implementation of the Figaro algorithm \cite{olteanu2022givens, vzivanovic2022linear,olteanu2024givens}: symbolical transformations combined with the GPU parallelized computations. This leads to the theoretical performance improvements proportional to the ratio of the join and input sizes. In experiments with the synthetic tables, for computing the upper triangular matrix and the right singular vectors matrix, Figaro-GPU outperforms in runtime NVIDIA cuSolver library for the upper triangular matrix by a factor proportional to the gap between the join and input sizes, which varies from 5x-150x for NVIDIA 2070 and up to 160x for NVIDIA 4080 while using up to 1000x less memory than the GPU cuSolver. For computing singular values, Figaro-GPU outperforms in runtime NVIDIA cuSolver library from 2.8x-31x for NVIDIA 4080.

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

↑