Version 1 of the code removed the block of code in the critical section to the master-only section of the code, and introduced master-only serialisation in the execution. This version of the code uses the OpenMP reduction clause to remove the critical section. This results in better speed-up than the original version of the code that had the critical section.
The following experiments have been registered: