views:

197

answers:

1

Depending on implementation, OMP can be quite useful to parallelize fairly arbitrary bits of code - e.g a parallel section inside a method that calls two independent methods - or it can be bad. It depends on how threads are created/cached, I think.

How does the VC++ 2008 implementation work? And is the 2010 implementation significantly different in terms of features and performance/flexibility?

+2  A: 

The OpenMP implementation in both VS2008 and VS2010 is compliant with the version 2.0 specification. There are some annotations in the MSDN Library but it doesn't go deep. Best place to look for detailed specifications is at the openmp.org site.

Hans Passant