AMD Is Looking At A Interoperability Interface For OpenCL Outside Of 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.
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.
7 Comments