Visible to Intel only — GUID: GUID-D9A94120-8399-4B8E-A59F-906F0D0082A0
Visible to Intel only — GUID: GUID-D9A94120-8399-4B8E-A59F-906F0D0082A0
Test the OpenMP Synchronization Code
After you have added OpenMP synchronization code (such as locks, critical sections, or atomic operations), but before adding the constructs that cause the program to use parallel execution, you should test your serial program. The synchronization code may introduce problems if you have inadvertently used a non-recursive mutex in a recursive context, or if your edits accidentally changed some other piece of program behavior.
It is much easier to find these problems in the serial version of your program than it will be in the parallel version.