Difference between revisions of "GPU621/Group 8"

From CDOT Wiki
Jump to: navigation, search
(Introduction)
(Introduction)
Line 7: Line 7:
  
 
''' Overview '''
 
''' 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.
 
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'''
 
'''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.
 
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.
  

Revision as of 15:25, 7 March 2023

C++11 Threads Library Comparison to OpenMP

Team

  1. Olivia Brown

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.

Methodology

Case Study