Resources for Co-design at POP CoE

OpenMP Critical (v2.0: par. reduction)

Version's name: OpenMP Critical (v2.0: par. reduction) ; a version of the OpenMP Critical program.
Repository: [home] and version downloads: [.zip] [.tar.gz] [.tar.bz2] [.tar]
Patterns and behaviours: OpenMP critical section ·
Recommended best practices:
Implemented best practices: Replacing critical section with reduction ·

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: