[Mesa-dev] Native object code support for clover and radeon

Tom Stellard thomas.stellard at amd.com
Mon Oct 6 12:44:22 PDT 2014


The attached patches add support to clover for compiling kernels to
native object code and it updates r600g and radeonsi to accept these
binaries from clover.

This change significantly reduces the number of compiles that the
drivers need to do.  Since the OpenCL programs can now be stored in
native format by clover, the drivers no longer needs to
recompile them every time the compute state changes.

This change reduces the time of an OpenCL piglit run on radeonsi
from 23m 41s to 3m 32s.

These patches depend on some LLVM changes which haven't been
committed yet, so if you want to test them, please use this
branch: http://cgit.freedesktop.org/~tstellar/llvm/log/?h=clover-elf-v2


More information about the mesa-dev mailing list