English

Efficient GPU Implementation of Affine Index Permutations on Arrays

Distributed, Parallel, and Cluster Computing 2023-07-18 v2

Abstract

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.

Keywords

Cite

@article{arxiv.2306.07795,
  title  = {Efficient GPU Implementation of Affine Index Permutations on Arrays},
  author = {Mathis Bouverot-Dupuis and Mary Sheeran},
  journal= {arXiv preprint arXiv:2306.07795},
  year   = {2023}
}

Comments

Final version submitted to ACM SIGPLAN International Workshop on Functional High-Performance and Numerical Computing 2023

R2 v1 2026-06-28T11:03:57.786Z