Skip to main content
QUICK REVIEW

[Paper Review] Computational Physics on Graphics Processing Units

Ari Harju, Topi Siro|Oct 30, 2012
Parallel Computing and Optimization TechniquesComputer Science6 citations
TL;DR

This paper reviews the use of graphics processing units (GPUs) for computational physics, focusing on accelerating classical molecular dynamics and quantum simulations via data-parallel algorithms. It demonstrates that GPUs significantly outperform CPUs in compute-intensive tasks like density functional theory and many-body quantum systems when algorithms are adapted to exploit GPU architecture, achieving substantial speedups through optimized memory access and parallelism.

ABSTRACT

The use of graphics processing units for scientific computations is an emerging strategy that can significantly speed up various different algorithms. In this review, we discuss advances made in the field of computational physics, focusing on classical molecular dynamics, and on quantum simulations for electronic structure calculations using the density functional theory, wave function techniques, and quantum field theory.

Motivation & Objective

  • To evaluate the feasibility and performance gains of using GPUs for computational physics simulations.
  • To identify algorithmic and architectural challenges in porting CPU-based physics codes to GPU platforms.
  • To analyze the impact of memory bandwidth, data coalescing, and communication overhead on GPU performance.
  • To assess the role of emerging GPU technologies like GPUDirect and CUDA in enabling scalable, high-performance scientific computing.
  • To guide researchers in optimizing code for GPU acceleration by highlighting key programming considerations and performance bottlenecks.

Proposed method

  • Adapting classical molecular dynamics algorithms to exploit data-parallelism on GPU architectures using single instruction, multiple data (SIMD) execution.
  • Implementing quantum simulations via density functional theory (DFT), post-Hartree-Fock methods, and quantum field theory using GPU-accelerated linear algebra and iterative solvers.
  • Optimizing memory access patterns by leveraging shared memory, texture memory, and coalesced global memory access to maximize bandwidth utilization.
  • Using CUDA as the primary programming model for GPU kernels, with attention to occupancy, thread block configuration, and memory hierarchy management.
  • Reducing CPU-GPU data transfer overhead by minimizing PCIe transfers and maximizing compute-to-communication ratios.
  • Leveraging GPUDirect v.2 and RDMA support to enable GPU-to-GPU and node-to-node communication, reducing latency and CPU involvement.

Experimental results

Research questions

  • RQ1How can GPU architectures be effectively leveraged to accelerate classical molecular dynamics simulations?
  • RQ2What algorithmic modifications are required to achieve optimal performance on GPUs compared to CPUs in electronic structure calculations?
  • RQ3To what extent do memory access patterns and data coalescing affect GPU performance in computational physics workloads?
  • RQ4How do communication bottlenecks in distributed GPU clusters impact strong and weak scaling in large-scale simulations?
  • RQ5What role do emerging GPU features like GPUDirect and RDMA play in reducing I/O overhead and improving scalability?

Key findings

  • GPUs achieve significantly higher theoretical peak performance than CPUs, with modern GPUs reaching up to 2600 GFLOPS/s, making them ideal for data-parallel physics workloads.
  • Optimized GPU implementations of molecular dynamics and DFT calculations can achieve speedups of several orders of magnitude over CPU-based counterparts when memory access is coalesced and occupancy is maximized.
  • The use of on-the-fly recomputation instead of lookup tables is often more efficient on GPUs due to low-cost floating-point operations, contrasting with CPU cache-optimized strategies.
  • GPUDirect v.2 enables direct GPU-to-GPU communication, reducing latency and CPU overhead, though adoption remains limited in current HPC environments.
  • Network bandwidth between nodes is typically two orders of magnitude lower than GPU memory bandwidth, posing a major bottleneck for strong scaling in distributed GPU clusters.
  • The convergence of consumer and HPC GPU development, driven by gaming and AI workloads, ensures continued hardware innovation and long-term viability for GPU-based scientific computing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.