I have a question about compiling OpenCl kernel. I have a program (lets call it PA), if I run PA in debug mode mutiple time and does not change anything in the kernel then the program does not need to re-compile the OCL kernel again. However, when I run PA in release mode, it keep re-compiling the OCL kernel again and again everytime I lunch the PA executable, even I did not change anything in the kernel.
So does any one here have the same problem? And do you all know how to fix it to avoid very long OCL compiling time everytime we lunch the main executable program?