There were more OpenCL/compute-related commits to Mesa Git master on Friday afternoon. The main item is that the Radeon HD 5000 series has its compute support hooked-up.
The most exciting is the ~3,000 line commit that actually hooks in the compute support for Evergreen (Radeon HD 5000 series) hardware to the R600g Gallium3D driver. It also relies upon the recent R600g LLVM back-end
. Towards the middle of May I outlined the OpenCL support was finally coming close
This main commit today can be found here
. This will make the R600g compute support part of Mesa 8.1. The Clover OpenCL state tracker
, generic compute infrastructure, and other code was already merged to master. This R600g Evergreen compute code was originally crafted last year but only now is ready for mainline Mesa.
Now we just need the working compute support for Radeon HD 6000 series in mainline along with Nouveau, and then finally for the Radeon HD 7000 series driver to take shape for OpenGL and OpenCL.
This work depends upon LLVM 3.1 and the --enable-r600-llvm
Mesa compile-time arguments. Libclc
is also needed as part of this enablement.
Some of the commits today as well improved the Radeon LLVM back-end that is currently living in Mesa until its mainline inclusion in the LLVM code-base.