Coder Social home page Coder Social logo

gpu_programming's Introduction

GPGPU

AUTHORS : antoine.hacquard, celian.gossec, nicolas.ceccarello, nathan.coupermant

For this project, we were tasked with implementing an ICP (Iterative Closest Point) algorithm in CUDA. The project was split in different steps:

  • First, work on getting a valid CPU implementation
  • Benchmark the CPU implementation to have a baseline
  • Work on getting a (better) GPU implementation
  • Benchmark the GPU implementation
  • Repeat steps 3 and 4, and add optimizations Libraries were authorized but not encouraged, as few libraries work in CUDA.Using a library meant going from CPU to GPU would be more complicated.

Installation

  1. Get the eigen library with : wget https://gitlab.com/libeigen/eigen/-/archive/3.3.8/eigen-3.3.8.zip
  2. Unzip it in the directory root : unzip eigen-3.3.8.zip
  3. Compile the code and create a binary in the relevant directory:
make -j4 cpu # compile the CPU version of the ICP in the CPU directory
make -j4 gpu # compile the non optimized GPU version in the GPU directory
make -j4 gpu-opti # Compile the optimize GPU version in the GPU-opti directory

Run

./{directory-where-you-create-the-binary}/icp datatest/{cloud-points}_src datatest/{cloud-points}_tgt

gpu_programming's People

Contributors

sokah2412 avatar cgossec avatar ihzfo avatar nicofeals avatar nathancoupermant 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.