cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ctwang_thomas
Journeyman III

strangely exexcute earlier kernel in runtime

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?

0 Likes
2 Replies
Jawed
Adept II

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.

0 Likes

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.

0 Likes