Torben’s Corner – A GPU Computing Gem for Jacket Programmers!

John MelonakosBenchmarks Leave a Comment

In January, we introduced you to Torben’s Corner – a resource wiki created and maintained by Jacket programming guru, Torben Larsen at Aalborg University in Denmark.  Many Jacket programmers have gained valuable insights from Torben’s Corner, including GPU performance charts, coding guidelines, special tricks.

Since January, many wonderful additions have been added to Torben’s Corner.  We think you will find value in not only this new information but the entire resource.  Here is a quick summary of the most recent additions with links to the information:

Benchmarking Update

Torben’s Corner maintains a long list of benchmarks specifically detailing speedups of Jacket relative to standard MATLAB. This became an enormous task due to the sheer number of functions supported by Jacket and MATLAB.

Therefore, a new benchmarking library has been designed. This library currently consists of 30 benchmarked functions and more will be added over time. These benchmarks measure the speedups of Jacket versus CPU-based MATLAB for matrix/vector and single/double precision. All results are gathered in three automatically generated outputs:

  1. a .mat file with all the measured data,
  2. a .wki file which is a Wiki table ready to be inserted in a Wiki page, and
  3. a Latex table with everything needed to produce a beautiful Latex table just by the press of a button.

The library is freely available for anyone to use – with the standard requirements for open access software. You can read more and download the benchmark. The full set of benchmarks takes 1.5-2 hours to complete.

Installing on Ubuntu

A guide on how to install Jacket on Ubuntu, including installation instructions for Ubuntu, GPU Drivers, MATLAB, Jacket, and Dropbox.

Running on a plain MATLAB install

A procedure and library of functions enabling Jacket programmers to write GPU code which will run with a plain CPU-only MATLAB installation. This is very important when programmers want to distribute their toolboxes, etc. Of course, without the GPU, the code will run slower, but with this procedure, your code will run without a GPU.

CPU settings that affect performance

A small post on how the CPU performance settings affect the floating point performance of the CPU and Jacket.

Jacket performance study

A detailed study on the floating point performance of Jacket. This is ongoing work and new results are continually being added.

———-

Thanks to Torben and his team for these contributions and hope all Jacket programmers can leverage this most recent work and the resource as a whole.

Leave a Reply

Your email address will not be published. Required fields are marked *