AMD OpenCL compiler

Not supported by Linaro MAP and Linaro Performance Reports.

The AMD OpenCL compiler can produce debuggable OpenCL binaries. However, the target must be the CPU rather than the GPU device. The build flags -g -O0 must be used when building the OpenCL kernel, typically by setting the environment variable:

AMD_OCL_BUILD_OPTIONS_APPEND="-g -O0"

Run the example codes in the AMD OpenCL toolkit on the CPU by adding the parameter --device cpu. With the above environment variable set, this results in debuggable OpenCL.