NAG for GPGPU
Written by Harry Fairhead   
Tuesday, 01 June 2010

The GPU is an ideal candidate for simple number crunching and a new library turns it into a powerful random number generator.

Banner

 

Following our recent GPGPU news item -  GPGPU optimisation - there seems to be nothing happening that doesn't involve the use of the GPU to create a personal supercomputer. Now NAG - Numerical Algorithms Group - well known for its professional quality numerical code has released a beta of NAG Numerical Routines for GPUs.

In case you have missed what the fuss is all about the GPU, or Graphics Processing Unit, that most PCs have as standard is capable of performing large numbers of simultaneous operations. So many that they are in theory more powerful than the CPU at many types of calculation. Unfortunately programming a GPU isn't an easy task and so any help you can get is welcome.

Currently, the prototype library includes components for Monte Carlo simulation, comprising a pseudo-random number generator, a quasi-random sequence generator and a Brownian bridge constructor. The random number generators provide three output distributions (uniform, exponential and Normal) implemented in both single and double precisions. Random number generators are an obvious task for the GPU as they are needed in large quantities and the algorithms to compute them are relatively short. Various benchmarks indicate a speed up of over 50 times compared to random number generation on the CPU.

 

nagchart

 

If you would like more information on using a GPU for random number generation and some examples of the code in action then visit Professor Mike Giles' page on his ongoing research.

nag

Access to the beta is free to academics as long as they sign a collaborative agreement. Commercial access has to be negotiated.

http://www.nag.co.uk/numeric/gpus/

Other relevant articles:

GPU Gems Volume 1

Graphics Accelerators

Bitmap Effects

GPGPU optimisation

Banner


Actionforge Releases GitHub Actions VSCode Extension
09/04/2024

Actionforge has released the beta of its GitHub Actions tool as a VS Code extension. The extension consists of a suite of tools making up a visual node system for building and managing GitHub Actions  [ ... ]



Liberica Alpaquita Containers Now Come With CRaC
23/04/2024

Bellsoft has added CRaC support to its ready-to-use Alpaquita container images. This will enable developers to seamlessly integrate CRaC into their projects for performant Java in the Cloud.


More News

<ASIN:0321228324>

<ASIN:0321335597>

<ASIN:0321515269>

<ASIN:6130268661>

<ASIN:0131387685>

Last Updated ( Wednesday, 02 June 2010 )