Radeon Gallium3D OpenCL Is Coming Close
Written by Michael Larabel in AMD on 13 May 2012 at 09:47 AM EDT. 22 Comments
Following the OpenCL Gallium3D state tracker having been merged into Mesa earlier this week, the open-source Radeon OpenCL support is coming close.

After the Clover state tracker was merged on Friday, Tom Stellard of AMD released the latest R600g compute support patches. These patches can be found on the mailing list as well as his Mesa gallium-compute-r600 Git repository.

Aside from merging the gallium-userbuf work, adding in the Radeon-specific compute support is just shy of 3,000 lines of code. (Though this isn't counting the R600 LLVM compiler back-end that was already merged.)

With the necessary patches, building the R600g compute support requires configuring mesa with --enable-r600-llvm and --enable-opencl. The R600g compute targets the Radeon HD 5000 (Evergreen) generation of graphics processors and newer. (Well, since the open-source Radeon HD 7000 series is basically useless to end-users at the moment, this means the open-source OpenCL on the Radeon side is for the HD 5000/6000 series.)

For more information on how to build the Gallium3D compute support for Radeon or in regards to the compute support state for the NVIDIA hardware via Nouveau and then on the CPU via LLVMpipe, reference the GalliumCompute Wiki page.

So far there's a collection of basic OpenCL examples (in this Git repository) known to work for the open-source Radeon stack at this time.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related AMD News
Popular News
Trending Reviews & Featured Articles