Code Monkey home page Code Monkey logo

hpc's Introduction

HPC

Coursework repository for the High Performance Computing course. This course contains a number of C++ based assignments, all oriented towards speeding up the execution of computational code using CPU and GPU (OpenCL) based multi-threading.

Coursework 1: Julia Set Rendering

  • Introduction to tbb::parallel_for

Coursework 2: Fourier Transform Parallelisation

  • Using tbb::parallel_for to parallelise a DFT
  • Using tbb::task_group to parallelise an FFT

Coursework 3: Finite Difference

  • Introduction to OpenCL programming
  • Introduction to GPU specific performance optimisations (reducing memory accesses, read/writes, etc)

Coursework 4: Sparsely-connected neural network

  • Demonstration of non-trivial parallelisation
  • Problem reformulation in order to expose parallelism

Coursework 5: Group project - Puzzle Optimisation

  • Project consisted of 6 small algorithms

    1. Gaussian Blur: Compute a gaussian blur over an arbitrarily large input image.
    2. Mining (e.g. hashing): Search for m such that hash(m) satisfies a target condition.
    3. Edit Distance: Compute the edit distance betwen two string of bits.
    4. Vector projection: Compute the projection of a vector onto a randomly generated space.
    5. Finite Difference algorithm seen in Coursework 3.
    6. Hold time: Given a set of gates and flipflops, compute the minimum hold time.
  • Objective was to get them to run as fast as possible using software or hardware acceleration

  • Very large speedups over most of the puzzles, combination of:

    • Algorithmic Improvements (Reduced complexity)
    • Porting the algorithm to OpenCL

Coursework 6: Group project - Optimise TestU01

  • Real-world application of the knowledge gained from the course
  • Unknown and complicated codebase (C with a C++ wrapper)
  • Objective was to optimise three benchmarks

hpc's People

Contributors

guigzzz avatar

Stargazers

Buote Xu avatar

Watchers

James Cloos avatar  avatar

Forkers

natoucs

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.