An Implementation of Conflict-Free Offline Permutation on the GPU
Authors:
- Akihiko KasagiAKAkihiko Kasagi
- Koji NakanoKNKoji Nakano
- Yasuaki ItoYIYasuaki Ito
- 1 December 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. e76 a, 226-232
Abstract
The Discrete Memory Machine (DMM) is a theoretical parallel computing model that captures the essence of the shared memory access of GPUs. The bank conflicts should be avoided for maximizing the bandwidth of the shared memory access. Offline permutation of an array is a task to copy all elements in array a into array b along a permutation given in advance. The main goal of this paper is to implement a conflict-free permutation algorithm on the DMM in a GPU. We have also implemented straightforward permutation algorithms on the GPU. The experimental results for 1024 float numbers on NVIDIA GeForce GTX-680 show that a straightforward permutation algorithm takes 246ns and 877ns for random permutation and bit-reversal permutation, respectively. Quite surprisingly, our conflict-free permutation algorithm runs in 165ns both for random permutation and for bit-reversal permutation although it performs more memory access operations. It follows that our conflict-free permutation is 1.5 times faster for random permutation and 5.3 times faster for bit-reversal permutation.Keywords
This publication has 8 references indexed in Scilit:
- Simple Memory Machine Models for GPUs2012
- An Optimal Parallel Prefix-Sums Algorithm on the Memory Machine Models for GPUsLecture Notes in Computer Science, 2012
- A GPU Implementation of Computing Euclidean Distance Map with Efficient Memory Access2011
- Accelerating the Dynamic Programming for the Matrix Chain Product on the GPU2011
- Fast and Accurate Template Matching Using Pixel Rearrangement on the GPU2011
- Implementations of a Parallel Algorithm for Computing Euclidean Distance Map in Multicore Processors and GPUsInternational Journal of Networking and Computing, 2011
- Notes on Shuffle/Exchange-Type Switching NetworksIEEE Transactions on Computers, 1980
- Some Computer Organizations and Their EffectivenessIEEE Transactions on Computers, 1972