Sorting and Permuting without Bank Conflicts on GPUs

From MaRDI portal



Abstract: In this paper, we look at the complexity of designing algorithms without any bank conflicts in the shared memory of Graphical Processing Units (GPUs). Given input of size n, w processors and w memory banks, we study three fundamental problems: sorting, permuting and w-way partitioning (defined as sorting an input containing exactly n/w copies of every integer in [w]). We solve sorting in optimal O(fracnwlogn) time. When ngew2, we solve the partitioning problem optimally in O(n/w) time. We also present a general solution for the partitioning problem which takes O(fracnwlogn/w3w) time. Finally, we solve the permutation problem using a randomized algorithm in O(fracnwlogloglogn/wn) time. Our results show evidence that when working with banked memory architectures, there is a separation between these problems and the permutation and partitioning problems are not as easy as simple parallel scanning.





Describes a project that uses

Uses Software






This page was built for publication: Sorting and Permuting without Bank Conflicts on GPUs

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3452764)