HPCwire

Since 1986 - Covering the Fastest Computers
in the World and the People Who Run Them

Language Flags

Datanami
Digital Manufacturing Report
HPC in the Cloud

Tabor Communications
Corporate Video

GPU Computing Gets Jolt of Java


Today, specialized programming frameworks like OpenCL, CUDA or DirectCompute, are the most commonly used methods of tapping into GPUs for general-purpose computing. With all of these, the parallelization of the code as well as the processor-specific manipulations that move the algorithms and data from the CPU to the GPU have to be performed manually. This presents something of a challenge to the average programmer.

Fortunately there are a number of efforts underway to make GPU programming a more high-level affair. One of them was described today in UK’s bit-tech, which reported that a team from Syracuse University has developed a Java compiler aimed at GPU computing.  Phil Pratt-Szeliga, an instructor at Syracuse University along, with partners Jim Fawcett and Roy Welch, worked together on the project, known as Rootbeer. In a paper that describes the technology, they claim that Rootbeer is “the most full-featured tool to enable GPU computing from within Java to date.” 

The goal was to develop a compiler that could that would allow programmers to use standard Java for GPU computing, without having to know the intricacies of parallel programming or processor hardware. These are not just bindings to CUDA and OpenCL libraries. Rootbeer is able to take unmodified Java source and then, under the covers, automatically parallelize the code and launch the GPU kernel. 

Rootbeer supports all standard Java features except dynamic method invocation, reflection and native methods. The features that are supported for the GPU include single and multi-dimensional arrays (primitive and reference types), composite objects, instance and static fields, dynamic memory allocation, inner classes, synchronized methods and monitors, strings, and exceptions that are thrown or caught on the GPU.

The compiler is currently targeted to NVIDIA processors since the hardware offers programmer-friendly support, such as the ability to execute recursive functions. Internally the Java Bytecode is converted to CUDA.

The compiler developers have also developed three applications to demonstrate the compiler’s capabilities.  As you can see, execution speedups are not guaranteed:

  • Dense Matrix Multiplication: 67 times faster
  • Brute Force Fourier Transform: 54 times faster
  • Sobel Filter: 3.8 times slower (oops)

Pratt-Szeliga says he plans to maintain the compiler indefinitely and is willing to fix any and all bugs sent to him. Rootbeer is available for free as open source software licensed under the GNU General Public License.


Full story at bit-tech

HPCwire on Twitter

Discussion

There are 0 discussion items posted.

Join the Discussion

Join the Discussion

Become a Registered User Today!


Registered Users Log in join the Discussion

Sponsored Links

Nominations are now open for the 2012 HPCwire Readers' Choice Awards.
The 
HPCwire Readers’ Choice Award nominations are a way for our readers to determine, select and honor their own from the leaders, movers and shakers within the global HPC community each year. Play a proactive role in the selection process by nominating your favorite candidates for the 2012 HPCwire Readers' Choice Awards today! Submit your nominations today!

August 15, 2012

August 14, 2012

August 13, 2012

August 10, 2012

August 09, 2012

August 08, 2012

August 07, 2012

August 06, 2012

August 03, 2012

August 02, 2012


Most Read Features

Most Read Around the Web

Most Read This Just In


Feature Articles

Climate Science Triggers Torrent of Big Data Challenges

Supercomputers at Oak Ridge National Laboratory produce some of the world’s largest scientific datasets, many of which are related to climate change research. In this interview, Galen Shipman, data-systems architect for ORNL’s Computing and Computational Sciences Directorate and the person who oversees data management at the OLCF, discusses strategies for coping with the “3 Vs” of big data: variety, velocity, and volume.
Read more...

Startup Aims to Upend Enterprise Storage with MLC Flash-Based Systems

Silicon Valley startup Skyera has unveiled a solid state storage system that the company believes will be a game changer for enterprise storage. The product, known as Skyhawk, will use consumer-grade multi-level cell (MLC) flash memory as the basis for a bulk storage solution at a price point of less than $3 per gigabyte.
Read more...

AMD Unveils Teraflop GPU with ECC Support

Advanced Micro Devices (AMD) has launched six new FirePro processors for workstation users who want high-end graphics and computation in a single box. One of them promises a teraflop of double precision performance as well as support for error correcting code (ECC) memory. The new offerings also includes two APUs (Accelerated Processing Units) that glue four CPU cores and hundreds of FirePro GPU stream cores onto the same chip.
Read more...

Sponsored Whitepapers

Sponsored Multimedia

Newsletters


HPC Job Bank


Featured Events










HPC Wire Events