Git Product home page Git Product logo

symmetric-gauss-seidel's Introduction

Introduction

This repository contains the CUDA implementation of the symmetric Gauss-Seidel (SYMGS) algorithm as a project for the GPU101 course.

Usage

Compilation

You only need GCC to compile the various programs, which you should already have installed if you did already setup your maching for CUDA. To compile all the examples simply type

make

Within the scope of this folder. Note that the examples are all compiled using the -O3 flag, you have to use this flag also when compiling the GPU version of the code using nvcc. All the parameters regarding input settings CANNOT BE CHANGED.

For SYMGS you should also use a sparse matrix as input (the program will not run without it). SYMGS GPU implementation will not produce the same results as for the CPU implementation, even when implementing a correct design, this is due to how floating point operations are implemented on GPU, to assure correctness then, check that the error rate is below a certain threshold (<0.1% error rate should be fine).

The one you should use for all of your comparisons has already been prepared for you and is available here:

https://www.dropbox.com/s/jzn573j0z9ffl7h/kmer_V4a.mtx?dl=0

This repository contains all source code as well as a PDF (4/5 pages) with your project report.

symmetric-gauss-seidel's People

Contributors

albertozeni avatar luca-brambilla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.