I have a kernel that uses write_imagef. I believe that I have validated the OpenCL code, as SKA does not error, but the IL output states
Error: IL Text Translator(line=617): parse error near _a
When I comment out
write_imagef( Dst, outputPixelLocation, Result );
The IL does not show that error message.
Does the code compile correctly using the OpenCL runtime? SKA might be out of date and not have the most recent version of the compiler. If the OpenCL runtime still fails to compile, please provide an example and we will work on getting it fixed.