Efficient GPU Implementation of Affine Index Permutations on Arrays

06/13/2023
by   Mathis Bouverot-Dupuis, et al.
0

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.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset