Code Monkey home page Code Monkey logo

cuda-smith-waterman's Introduction

Introduction

This repository contains an implementation of the sequence alignment Smith-Waterman algorithm written in C using CUDA for the GPU-101 Project by Politecnico di Milano.

Directories

In the implementation directory it is possible to find the code of the program, while in the profile directory the profiling files generated by using nvprof for the gpu implementation on a Tesla T4. Lastly, the report directory contains a detailed description and discussion of the algorithm and its implementation in a 4-pages PDF document.

Usage

Compilation

In order to compile the implementation you need first of all to make sure you have access to a NVIDIA gpu, either on your PC or through Google Colab. Then, you need to open a terminal and clone this github repo with the following command.

git clone https://github.com/fabrizioaymone/cuda-smith-waterman.git

Then enter in the implementation directory.

cd cuda-smith-waterman/implementation/

Lastly, compile the source code using make

make

Launching

There are two versions of the implementation: pure and conventional. See details in my report. To launch the version of your choice pass to the program its name as argument. If you want, for instance, to run the pure implementation, use the following command.

./main.out pure

cuda-smith-waterman's People

Contributors

fabrizioaymone avatar

Watchers

 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.