Publication Details

Implementation of 3D FFTs across Multiple GPUs in Shared Memory Environments

NANDAPALAN Nimalan, JAROŠ Jiří, TREEBY Bradley E. and RENDELL Alistair P. Implementation of 3D FFTs Across Multiple GPUs in Shared Memory Environments. In: Proceedings of the Thirteenth International Conference on Parallel and Distributed Computing, Applications and Technologies. Beijing, 2012, pp. 167-172. ISBN 978-0-7695-4879-1. Available from: http://ieeexplore.ieee.org/document/6589258/
Type
conference paper
Language
english
Authors
Nandapalan Nimalan (ANU)
Jaroš Jiří, doc. Ing., Ph.D. (DCSY FIT BUT)
Treeby Bradley E. (ANU)
Rendell Alistair P. (ANU)
URL
Keywords

GPU; UVA; unified-virtual-address; multi-GPU; FFT; distributed; shared-memory;

Abstract

In this paper, a novel implementation of the distributed 3D Fast Fourier Transform (FFT) on a multi-GPU platform using CUDA is presented. The 3D FFT is the core of many simulation methods, thus its fast calculation is critical. The main bottleneck of the distributed 3D FFT is the global data exchange which must be performed. The latest version of CUDA introduces direct GPU-to-GPU transfers using a Unified Virtual Address space (UVA) that provides new possibilities for optimising the communication part of the FFT. Here, we propose different implementations of the distributed 3D FFT, investigate their behaviour, and compare their performance with the single GPU CUFFT and CPU-based FFTW libraries.
In particular, we demonstrate the advantage of direct GPU-to-GPU transfers over data exchanges via host main memory. Our preliminary results show that running the distributed 3D FFT with four GPUs can bring a 12% speedup over the single node (CUFFT) while also enabling the calculation of 3D FFTs of larger datasets. Replacing the global data exchange via shared memory with direct GPU-to-GPU transfers reduces the execution time by up to 49%. This clearly shows that direct GPU-to-GPU transfers are the key factor in obtaining good performance on multi-GPU systems.

Published
2012
Pages
167-172
Proceedings
Proceedings of the Thirteenth International Conference on Parallel and Distributed Computing, Applications and Technologies
Conference
The Thirteenth International Conference on Parallel and Distributed Computing, Applications and Technologies, Beijing, CN
ISBN
978-0-7695-4879-1
Place
Beijing
DOI
UT WoS
000339119200027
EID Scopus
BibTeX
@INPROCEEDINGS{FITPUB10171,
   author = "Nimalan Nandapalan and Ji\v{r}\'{i} Jaro\v{s} and E. Bradley Treeby and P. Alistair Rendell",
   title = "Implementation of 3D FFTs across Multiple GPUs in Shared Memory Environments",
   pages = "167--172",
   booktitle = "Proceedings of the Thirteenth International Conference on Parallel and Distributed Computing, Applications and Technologies",
   year = 2012,
   location = "Beijing, ",
   ISBN = "978-0-7695-4879-1",
   doi = "10.1109/PDCAT.2012.79",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/10171"
}
Files
Back to top