Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

GPU Acceleration of Volume Fraction and Centroid Computation from General Shapes on Unstructured Mesh

Technical Report ·
DOI:https://doi.org/10.2172/1471309· OSTI ID:1471309
 [1]
  1. 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

Summer Student Internship working on the GPU
Technical Report · Thu Aug 15 00:00:00 EDT 2013 · OSTI ID:1090694

Performance Evaluation of Heterogeneous GPU Programming Frameworks for Hemodynamic Simulations
Conference · Wed Nov 01 00:00:00 EDT 2023 · OSTI ID:2224199

GPU-accelerated 3D neutron diffusion code based on finite difference method
Conference · Sun Jul 01 00:00:00 EDT 2012 · OSTI ID:22105600

Related Subjects