/clr /openMp program runs better under Debug than Release?

  • Thread starter Thread starter Larry O'Brien
  • Start date Start date
L

Larry O'Brien

I've been writing an image-processing app that, sure enough, speeds up
nicely when I put some "#pragma omp parallel for"s in it. When I look at
Perfmon in Debug mode, both processors peg at 100% -- very nice. But when I
switch to Release, one processor pegs and the other stays at ~40%, just as
if the OpenMP had been disabled. Thoughts?

TIA,
Larry
http://www.knowing.net
 
D'oh!

Of course, the answer is that you have to set the flags in each
configuration. Of course, I realized this 10 seconds after walking away from
the computer.
 
Back
Top