I am using SDK 2.4,CATALYST 11.6 in linux.
When I edit the kernel.cl and compile and run again,
I found the result based on the earlier kernel I made, not the newest .cl file.
Is there something I missed?
rename kernel.cl to kernel.off and see what happens when you run your program. It may be that the program is reading a different instance of the kernel.cl file.
if you are referring to the SDK samples, I would suggest you to edit the kernel file that is present with the executable rather than the one present with the solution file. You can also press rebuild after editing kernel and your edited kernel should be copied to the executable directory as a post build event.
Retrieving data ...