AMD Is Looking At A Interoperability Interface For OpenCL Outside Of Mesa

Written by Michael Larabel in Mesa on 6 February 2016 at 09:09 AM EST. 7 Comments
MESA
AMD's Marek Olšák has begun exploring an interoperability interface for OpenGL within Mesa and having a non-Mesa OpenCL implementation (not Clover OpenCL Gallium3D).

Likely as part of their HSA work and hopefully in providing better AMD open-source OpenCL support aside from the (currently limited) Gallium3D Clover state tracker, Marek is trying to hash out an interface for allowing interoperability with "MesaGL" and a non-Mesa OpenCL driver.

He explains in this new mailing list thread, "I think the only way to do this is to have Mesa export functions that convert Mesa OpenGL objects into DMABUF handles. Such functions can be exported by DRI driver modules or libGL & libEGL, however, it's possible that the OpenCL stack won't link against libGL & libEGL, therefore it's not required to expose the interface as GLX/EGL extensions."

In his mailing list post he then went on to suggest the relevant interface. Hopefully Marek, Bridgman, Tom, or Alex will be able to comment more in our forums on their OpenCL plans relative to using Clover for OpenCL or abandoning it, etc.
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