Visual Studio Debug vs Release Mode

Hello there,

Again, I have a question that may sound a bit stupid:

Is there a difference in how OpenCL runs, dependent on whether I start the application via Visual Studio Debug or Release Mode?

I ask because my application runs in debug mode, but crashes in release mode.

Thanks in advance for your comments!

I don’t believe there’s a difference so far as OpenCL is concerned, though the release profile should bump up the optimization level of the CPU side code, which could potentially screw something up not related directly to OpenCL.

A more likely cause is that since the release exe is put in a different directory, you’ve simply forgotten to copy over some dependency or other.

i like to hear that, thanks! :)