OpenCL Support Atop Gallium3D Is Here, Sort Of
Written by Michael Larabel in Mesa on 30 August 2009 at 05:47 PM EDT. 55 Comments
OpenCL is present in NVIDIA's Linux driver as well as the just-released Mac OS X 10.6, but there is support for the Open Computing Language coming forward in the open-source world through the Gallium3D driver infrastructure.

Back in February we heard a goal of having OpenCL in Gallium3D by this summer and then in May we heard that it was hopefully soon along with an OpenGL 3.1 state tracker. Well, it's just about September and the summer is nearing an end, but we now have OpenCL support in the works.

Over on the FreeDesktop.org Git server is now a mesa/clover repository. This code repository contains Zack Rusin's work on adding an OpenCL implementation to Gallium3D. Right now, however, this code is still very incomplete and immature, but it's out there for those who are interested. It also shows that this support began in December of 2008, but it wasn't even worked on this year until starting eleven days ago.

This code is dependent upon LLVM (the Low-Level Virtual Machine) and its Clang compiler component. Of course, you will also need a working Gallium3D driver for your graphics card too.

Judging from this code it will still be a while before this OpenCL support on Linux is ready to enter the limelight, but at least it's coming.
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 Mesa News
Popular News
Trending Reviews & Featured Articles