Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6932984 | Journal of Computational Physics | 2014 | 17 Pages |
Abstract
We describe our experience using NVIDIAʼs CUDA (Compute Unified Device Architecture) C programming environment to implement a two-dimensional second-order MUSCL-Hancock ideal magnetohydrodynamics (MHD) solver on a GTX 480 Graphics Processing Unit (GPU). Taking a simple approach in which the MHD variables are stored exclusively in the global memory of the GTX 480 and accessed in a cache-friendly manner (without further optimizing memory access by, for example, staging data in the GPUʼs faster shared memory), we achieved a maximum speed-up of â126 for a 10242 grid relative to the sequential C code running on a single Intel Nehalem (2.8 GHz) core. This speedup is consistent with simple estimates based on the known floating point performance, memory throughput and parallel processing capacity of the GTX 480.
Keywords
Related Topics
Physical Sciences and Engineering
Computer Science
Computer Science Applications
Authors
Christopher M. Bard, John C. Dorelli,