Coronavirus (Covid-19): Latest updates and information
Skip to main content Skip to navigation

Warwick Annual Retreat Projects 2017

The Warwick Anuual Retreat Projects are back! The Warwick Anuual Retreat Projects, or WARPS as the cool crowd calls them, are study group style projects that we will work on during the retreat. The aim of these projects is to foster a collaborative atmosphere within the department, particularly between year groups. This format was debuted last year, and we hope that this year it will be as enjoyable and informative as the previous one.

If you wish to propose a project then please add a brief description of the problem you want to tackle, as a topic in the forum below. We hope that we can start a discussion on these problems before the retreat starts. Hence, others can express their interest and give comments on the projects. The deadline for project proposals is 7th April 2017.

If you like any of the proposed projects and want to join the group working on it, please specify your preference below, so we can allocate the project groups before the retreat starts. If you hate all of the projects below, then please propose one you like! This time we want to allocate projects before the start of the retreat so we allow for more time to work on the projects.


Warwick Annual Retreat Projects 2017 Something nontrivial with CUDA

You need to be logged in to post in this topic.
  1. I want to try using CUDA ( the library you use for programming GPU's, used with C code) to write something basic but not totally basic. A PDE simulation/ a matrix multiplication etc. The idea would be, do a bit of reading and decide on a thing to simulate beforehand, then try and code it up in the ~7hrs we have. Depending on time, we could then try profiling it, improving it, comparing it to CPU implementations etc.

    We need a (compute card) GPU - we can ssh to tinis, or try and 'rent' one from amazon for the retreat, or if someone has a better idea...or a GPU...

    links: a book I got recommended

    http://www.hds.bme.hu/~fhegedus/C++/programming_massively_parallel_processors.pdf

    Papers on PDE simulations with CUDA:

    http://sma.epfl.ch/~lmichel/cuda_report.pdf

    https://arxiv.org/pdf/1004.0480.pdf

     
  2. Desktop with CUDA-able GPU available

    Great idea Jack. I can bring my desktop which has a GeForce GTX 750 Ti with compute capability 5.0. The nvcc compiler is running and I've already got it to do vector sums so far. I'm currently experimenting with doing simple matrix operations to compare it with my CPU and to explore the size limit of arrays I can put onto there since transferring host<=>device tends to take up most computational time. I'm using cuBLAS, a linear algebra library, to do matrix operations as this probably chooses the best algorithm for the specific GPU architecture plus requires the least CUDA knowledge(!) but also happy to go into the detail too.

    Happy to preread beforehand. I have zero PDE experience so would be good if you can walk us through the problem you have and how you've done it in C.

    Resources:

    1 attachment

     
  3. Desktop with CUDA-able GPU available

    Update: OpenCV 2.4 now running to perform elementary matrix operations on data.

    Attached: Jack's links and mine all zipped into this one file. Download it yourself to your laptop prior to the retreat in case WiFi is poor.

    Plan: All compilation and running of code to occur on my desktop computer. People can write code and transfer it to mine via USB memory stick. Sorry, that's the most lo-tech way we could think of as I didn't want to try setting up an ssh server on this machine as I'm treating this CUDA installation as quite fragile as can't afford to reboot the machine else would have to cancel this WARP.

    1 attachment

     

Details:

  • The problem should not be part of your PhD!
  • The problem proposed should ideally be simple so that someone without domain specific knowledge could contribute.
  • Approximately 7 hours are allocated for these projects so progress should be possible within this time-frame.
  • Groups will be expected to give an informal summary during the forum session on the Wednesday following the retreat (13:00, 10th May).
  • If you propose a project that involves working with data, please make sure you have a copy of the data on a physical drive in order to save time from downloading on slow wifi.