I wanted to draw your attention that for OpenCl SDK 2.2/2.3, the clc offline bin utility does not recognize the keyword double, or the double #prgama extension. I had to use the clc from the 2.1 SDK, which in turn does not recognize the "printf" extension.
This is for the linux 64b kit
Micah,
I already put in my .cl file:
#pragma OPENCL EXTENSION cl_amd_fp64 : enable
#pragma OPENCL EXTENSION cl_amd_printf : enable
isn't this enough
So how can I check syntax error offline? Besides, the API usually ends up with a load-time error number "cannot build program"
thank Micah
I hate to be persistant, but what is the problem of clc bin as was the case with pre-sdk 2.2?
Isn't it logical to see the syntax errors using makefiles with the rest of the C files syntax checks?