Now that Stream SDK 2.1 has 3d image support I'm able to get my application ported over to using ATI's OpenCL implementation, yay!
Unfortunately, I'm running into an error I have no idea how to work around. My application is a database server that needs to service (possibly many) queries simultaneously. In order to save time per query the kernels are compiled once at start up and the binaries are cached. Then I use clCreateProgramWithBinary to load that binary into a program object for the new context that is created per query. This call to clCreateProgramWithBinary is failing with the following error message:
Warning: Internal error: Link failed.
Make sure the system setup is correct.
Any help to find the cause of this problem would be very much appreciated.
Could you provide a testcase?