DocumentCode :
167530
Title :
Kd-Tree Based N-Body Simulations with Volume-Mass Heuristic on the GPU
Author :
Kofler, Klaus ; Steinhauser, Dominik ; Cosenza, Biagio ; Grasso, Ivan ; Schindler, Sabine ; Fahringer, Thomas
Author_Institution :
Inst. of Comput. Sci., Univ. of Innsbruck, Innsbruck, Austria
fYear :
2014
fDate :
19-23 May 2014
Firstpage :
1256
Lastpage :
1265
Abstract :
N-body simulations represent an important class of numerical simulations in order to study a wide range of physical phenomena for which researchers demand fast and accurate implementations. Due to the computational complexity, simple brute-force methods to solve the long-distance interaction between bodies can only be used or small-scale simulations. Smarter approaches utilize neighbor lists, tree methods or other hierarchical data structures to reduce the complexity of the force calculations. However, such data structures have complex building algorithms which hamper their parallelization for GPUs. In this paper, we introduce a novel method to effectively parallelize N-body simulations for GPU architectures. Our method is based on an efficient, three-phase, parallel Kd-tree building algorithm and a novel volume-mass heuristic to reduce the simulation time and increase accuracy. Experiments demonstrate that our approach is the fastest monopole implementation with an accuracy that is comparable with state of the art implementations (GADGET-2). In particular, we are able to reach a simulation speed of up to 3 Mparticles/s on a single GPU for the force calculation, while still having a relative force error below 0.4% for 99% of the particles. We also show competitive performance with existing GPU implementations, while our competitor shows worse accuracy behavior as well as a higher energy error during time integration.
Keywords :
graphics processing units; mathematics computing; numerical analysis; trees (mathematics); GADGET-2 approach; GPU; Kd-tree based N-body simulations; brute-force methods; computational complexity; data structures; graphics processing unit; numerical simulation; parallel Kd-tree building algorithm; volume-mass heuristic; Accuracy; Buildings; Computational modeling; Data structures; Force; Graphics processing units; Parallel processing; GPGPU; Kd-tree; N-body;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel & Distributed Processing Symposium Workshops (IPDPSW), 2014 IEEE International
Conference_Location :
Phoenix, AZ
Print_ISBN :
978-1-4799-4117-9
Type :
conf
DOI :
10.1109/IPDPSW.2014.141
Filename :
6969523
Link To Document :
بازگشت