C++11 Threads Library Comparison to OpenMP
Team
Introduction
Overview In this project I aim to analyze the differences in use and performance between the C++ 11 threads library and OpenMP. The goal is not to determine which tools are overall more effective, but instead show where each one shines and the ways they can be utilized most effectively, and provide a high-level familiarity to each of these tools through comparison.
What is Multi-Threading: a Short Explanation for the Layperson Essentially, multi-threading is our ability to utilize our processors more efficiently by breaking up the workload of an individual task into multiple smaller workloads that can be completed simultaneously. One example of this could be when seeking the sum of a large pool of numbers, let's say 1,000,000 numbers for this example. Instead of adding all 1,000,000 numbers together sequentially, a programmer might use threads to add batches of 250,000 together at the same time, then combining those smaller sums together.