Friday, March 16, 2012

Testing clover with r600g

Compute support with clover and r600g has been progressing very nicely over the last few months. This is due to some great work by EVOC student Francisco Jerez on the clover state tracker and gallium compute interface, and also Ádám Rák who wrote an r600g compute implementation. With these pieces in place it is possible to run simple OpenCL programs using clover and r600g! Here is what you can do to try it out:

** UPDATE: Installation instructions can now be found here.

After all that you should be ready to go. I have posted some simple OpenCL programs here. Most of these should work with clover and r600g.
There is still a lot of work left to do, so don't be surprised if your favorite OpenCL program doesn't work, but I am excited about the work that has been done so far, and I'm optimistic the open source compute stack will continue to improve.

6 comments:

  1. Is it possible to have sh script for Fedora 16 tp these actions? It would be awesome ...

    Anyway - THANK YOU A LOT for this post, Tom. The small thinsg like these can make great change ... as I feel I start to give up againts fight for having fglrx binary successfuly installed on my fedora 16 /w kernel 3.2.9.x ...

    ReplyDelete
  2. Pingback: http://linardsliepins.wordpress.com/2012/03/18/clover-an-opencl-1-1-support-for-your-linux-amd-radeon-gpu-please-help-testing/

    ReplyDelete
  3. Sounds good I'll be giving this a try. Could you clarify step 4 please? I'm not sure I understand

    ReplyDelete
  4. jordan, to uderstand it, jo have to do the following:

    1. uderstand how Git works ...
    1.1 clone these two repos ...
    1.2 build form these two repos...
    2. get patch(set) using hashes Tom mentions ;)

    Besides, you can test this driver ( http://forums.guru3d.com/showthread.php?t=360362 ), too .. :D

    ReplyDelete
  5. I mistook the git heads for actual names of branches. I've applied the two patches and am building llvm right now.

    ReplyDelete
  6. jordan,

    If you are successful, run Phoronix Test Suite to have some benchmark info available for this OpenCL supported code... it will help a lot ;)

    ReplyDelete