Vis enkel innførsel

dc.contributor.advisorKvamsdal, Trondnb_NO
dc.contributor.advisorLie, Knut-Andreasnb_NO
dc.contributor.authorTorp, Audunnb_NO
dc.date.accessioned2014-12-19T13:57:43Z
dc.date.available2014-12-19T13:57:43Z
dc.date.created2010-09-03nb_NO
dc.date.issued2009nb_NO
dc.identifier347855nb_NO
dc.identifierntnudaim:4773nb_NO
dc.identifier.urihttp://hdl.handle.net/11250/258321
dc.description.abstractWe investigate what the graphics processing units (GPUs) have to offer compared to the central processing units (CPUs) when solving a sparse linear system of equations. This is performed by using a GPU to simulate fluid-flow in a porous medium. Flow-problems are discretized mainly by the mimetic finite element discretization, but also by a two-point flux-approximation (TPFA) method. Both of these discretization schemes are explained in detail. Example-models of flow in porous media are simulated, as well as CO2 -injection into a realistic model of a sub-sea storage-cite. The linear algebra is solved by the conjugate gradient (CG) method without a preconditioner. The computationally most expensive calculation of this algorithm is the matrix-vector product. Several formats for storing sparse matrices are presented and implemented on both a CPU and a GPU. The fastest format on the CPU is different from the format performing best on the GPU. Implementations for the GPU is written for the compute unified driver architecture (CUDA), and C++ is used for the CPU-implementations. The program is created as a plug-in for Matlab and may be used to solve any symmetric positive definite (SPD) linear system. How a GPU differs from a CPU is explained, where focus is put on how a program should be written to fully utilize the potential of a GPU. The optimized implementation on the GPU outperforms the CPU, and offers a substantial improvement compared to Matlab s conjugate gradient method, when no preconditioner is used.nb_NO
dc.languageengnb_NO
dc.publisherInstitutt for matematiske fagnb_NO
dc.subjectntnudaimno_NO
dc.subjectSIF3 fysikk og matematikkno_NO
dc.subjectIndustriell matematikkno_NO
dc.titleSparse linear algebra on a GPU: with Applications to flow in porous Medianb_NO
dc.typeMaster thesisnb_NO
dc.source.pagenumber92nb_NO
dc.contributor.departmentNorges teknisk-naturvitenskapelige universitet, Fakultet for informasjonsteknologi, matematikk og elektroteknikk, Institutt for matematiske fagnb_NO


Tilhørende fil(er)

Thumbnail
Thumbnail
Thumbnail

Denne innførselen finnes i følgende samling(er)

Vis enkel innførsel