AnsweredAssumed Answered

Compiler Option for Optimization OpenCL

Question asked by registerme on Dec 11, 2012
Latest reply on Dec 13, 2012 by nathan1986

I am running the OpenCL code with debug and release mode under Visual Studio. The time it takes to run the OpenCL kernel is the same. I am wondering if there is anything wrong with the settings. I did check the compiler option and see -O2 is on, but not sure if this is relavant to OpenCL code or the application C/C++ code only. How do I tell that the kernel is optimized?