Kamakolanu, R T
(2014)
Parallel AMG Solver for Three Dimensional Unstructured Grids Using Gpus.
Masters thesis, Indian Institute of Technology Hyderabad.
Abstract
Consider a set of points P in three dimensional euclidean space. Each point in P represents a
variable and its value is dependent on the value of its neighborhood scaled by predefined constants.
The problem is to solve all the variables which reduces to solving a large set of sparse linear equations.
This kind of representation arises naturally while solving flow equations in Computational
Fluid Dynamics (CFD). Graphics Processing Units (GPUs), over the years have evolved from being
graphics accelerator to scalable co-processor. We implement an algebraic multigrid solver for three
dimensional unstructured grids using GPUs. Such a solver has extensive applications in Computational
Fluid Dynamics. Using a combination of vertex coloring, optimized memory representations,
multi-grid and improved coarsening techniques, we obtain considerable speedup in our parallel implementation.
For our implementation, we used Nvidia’s CUDA programming model. Our solver
is used to accelerate solutions to various problems like heat transfer, Navier-Stokes etc. Our solver
achieves 2157 and 29 times speed up for steady state and unsteady state head transfer problem respectively
on a grid of size 2.3 million, compared to serial non-multigrid implementation. Our solver
provides significant acceleration for solving pressure Poisson equations, which is the most time consuming
part while solving Navier-Stokes equations. In our experimental study, we solve pressure
Poisson equations for flow over lid driven cavity, laminar flow past square cylinder and plain jet
problems. Our implementation achieves 915 times speed up for the lid driven cavity problem on
a grid of size 2.6 million and a speed up of 1020 times for the laminar flow past square cylinder
problem on a grid of size 1.7 million, compared to serial non-multigrid implementations. For plain
jet problem, our solver achieves a speed up of 47 times, compared to serial non-multigrid implementation
on a grid of size 2.7 million. We also implement multi GPU AMG solver which achieves a
speed up of 1.5 times, compared to single GPU solver for heat transfer problem.
Actions (login required)
|
View Item |