4 Replies Latest reply on Dec 13, 2012 12:17 AM by nathan1986

    Compiler Option for Optimization OpenCL

    registerme

      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?