I am currently working on a application in python and opencl (using pyopencl) to accelerate computation of multiple small optimization problems. I took a C implementation of the Levenberg-Marquardt algorithm and with some code generation tools I am able to produce kernels. I appended such a generated kernel to this question.
This kernel works, but only some of the time, it often crashes during kernel compilation.
My setup is as follows:
Machine 1, Gentoo x64, Radeon HD 280X
ati-drivers-13.12: works most of the time, gives random failures during kernel compilation
ati-drivers-14.6_beta1: always crashes during compilation
Machine 2, Windows 7, Radeon HD 260x
latest drivers: works only if '-cl-opt-disable' is set, crashes otherwise.
I hope someone is able to suggest a solution to this compiler crashing, or, perhaps AMD's compiler team can use it as a test case for their drivers.