Title :
An Implementation of Conflict-Free Offline Permutation on the GPU
Author :
Kasagi, Akihiko ; Nakano, Kaoru ; Ito, Yu
Author_Institution :
Dept. of Inf. Eng., Hiroshima Univ., Higashi Hiroshima, Japan
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 :
graphics processing units; parallel algorithms; shared memory systems; DMM; GPU; NVIDIA GeForce GTX-680; bandwidth maximization; bit-reversal permutation; conflict-free offline permutation algorithm; discrete memory machine; graphical processing unit; random permutation; shared memory access; theoretical parallel computing model; Arrays; Bipartite graph; Color; Graphics processing units; Instruction sets; Writing; CUDA; GPU; bank conflict; data movement; memory machine models; shared memory;
Conference_Titel :
Networking and Computing (ICNC), 2012 Third International Conference on
Conference_Location :
Okinawa
Print_ISBN :
978-1-4673-4624-5
DOI :
10.1109/ICNC.2012.42