Mesa's OpenCL Clover Gets ICD Loader Support

Written by Michael Larabel in Mesa on 12 July 2013 at 01:05 PM EDT. 2 Comments
MESA
The "Clover" Gallium3D state tracker to Mesa for providing OpenCL support can now be used with an ICD loader.

OpenCL has an ICD extension, which is for an Installable Client Driver, and allows for multiple OpenCL implementations to exist on the same system. The OpenCL ICD loader library lets applications choose a platform and dispatch the OpenCL API calls to the underlying library. This is quite important for systems with multiple different CPUs/GPUs exposing OpenCL support.

The Clover state tracker can now be loaded by an ICD loader with a new patch hitting the Mesa mailing list. The --enable-opencl-icd build argument for Mesa lets the OpenCL support be loaded by an OpenCL ICD implementation.

This patch comes via AMD's Tom Stellard. He also updated to OpenCL 1.2 headers as needed by the common open-source ocl-icd implementation.
Related News
About The Author
Michael Larabel

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 20,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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week