GPU Acceleration of Volume Fraction and Centroid Computation from General Shapes on Unstructured Mesh
- Los Alamos National Lab. (LANL), Los Alamos, NM (United States)
One important requirement for coupling multi-physics models is a means to remap fields between meshes in an accurate and conservative manner. Since the remapping algorithm is embarrassingly parallel, this motivates the use of Graphical Processing Units (GPU) for such routine. However, since our remapping code, portage, is fairly complex, we explore the use of GPUs through a simpler problem of generating material’s volume fraction and centroid inside each cell of the mesh. We use the same programming structure that is used in portage, namely, on-node parallelism via NVIDIA’s thrust library. Using a similar programming structure enables us to draw lessons from this study that can be applied to the more complex problem. We have found that while the speed-up is pronounced (10-100 times), significant effort is required to re-factor the code so that thrust can be used with a CUDA backend. Moreover, thrust takes away the fine grain control that vanilla CUDA programming gives us.
- Research Organization:
- Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
- Sponsoring Organization:
- USDOE National Nuclear Security Administration (NNSA)
- DOE Contract Number:
- AC52-06NA25396
- OSTI ID:
- 1471309
- Report Number(s):
- LA-UR--18-28727
- Country of Publication:
- United States
- Language:
- English
Similar Records
Performance Evaluation of Heterogeneous GPU Programming Frameworks for Hemodynamic Simulations
GPU-accelerated 3D neutron diffusion code based on finite difference method