DV Hardware - bringing you the hottest news about processors, graphics cards, Intel, AMD, NVIDIA, hardware and technology!

   Home | News submit | News Archives | Reviews | Articles | Howto's | Advertise
 
DarkVision Hardware - Daily tech news
December 12, 2017 
Main Menu
Home
Info
News archives
Articles
Howto
Reviews
 

Who's Online
There are currently 99 people online.

 

Latest Reviews
Jaybird Freedom 2 wireless sport headphones
Ewin Racing Champion gaming chair
Zowie P-TF Rough mousepad
Zowie FK mouse
BitFenix Ronin case
Ozone Rage ST headset
Lamptron FC-10 SE fan controller
ZOWIE G-TF Rough mousepad
 

Follow us
RSS
 

Rootbeer offers GPGPU acceleration for Java

Posted on Monday, August 13 2012 @ 16:16:37 CEST by


Bit Tech reports Phil Pratt-Szeliga, an instructor at Syracuse University, has released the source code of Rootbeer - a compiler that enables Java programmers to take advantage of performance boosts delivered via GPGPU computing.
'When converting a serial program to a parallel program that can run on a graphics processing unit, the developer must choose what functions will run on the GPU' explains Pratt-Szeliga. 'For each function the developer chooses, he or she needs to manually write code to: serialise state to GPU memory; define the kernel code that the GPU will execute; control the kernel launch; and deserialise state back to CPU memory.'

Seeing that as far too many steps, Pratt-Szeliga developed Rootbeer, a compiler which allows programmers to access the power of the GPU directly within Java. 'Rootbeer [...] allows developers to simply write code in Java and the (de)serialisation, kernel code generation and kernel launch is done automatically,' Pratt-Szeliga explains. 'This is in contrast to Java language bindings for CUDA or OpenCL, where the developer still has to do these things manually.'
Rootbeer isn't suitable for every case, but it makes it a lot easier to tap into GPGPU computing directly within Java. Pratt-Szeliga and his team developed three performance examples to showcase Rootbeer's performance, the best-performing test case offers a 100x performance boost, but the worst example is 3x slower than its original version.



 



 

DV Hardware - Privacy statement
All logos and trademarks are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2017 DM Media Group bvba