arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07795cs.DC
收藏

数组上仿射索引置换的高效 GPU 实现

Efficient GPU Implementation of Affine Index Permutations on Arrays

Mathis Bouverot-Dupuis, Mary Sheeran

AI总结:

针对 GPU 上规律性内存访问仍难以充分利用内存系统的问题,本文为 BMMC 仿射索引置换设计高效内核,使其速度接近简单数组复制,为数组组合子实现奠定基础。

摘要:

对内存系统的最优利用是快速 GPU 算法的关键要素。遗憾的是,许多常见算法尽管在内存访问模式上表现出很强的规律性,却在这方面表现不佳。本文提出了用于对数组元素进行置换的高效内核。我们处理一类称为 Bit Matrix Multiply Complement(BMMC,位矩阵乘补)的置换,并为其设计了速度可与简单数组复制相媲美的内核。这是基于这些置换实现一组数组组合子的第一步。

英文摘要:

Optimal usage of the memory system is a key element of fast GPU algorithms. Unfortunately many common algorithms fail in this regard despite exhibiting great regularity in memory access patterns. In this paper we propose efficient kernels to permute the elements of an array. We handle a class of permutations known as Bit Matrix Multiply Complement (BMMC) permutations, for which we design kernels of speed comparable to that of a simple array copy. This is a first step towards implementing a set of array combinators based on these permutations.

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

↑