Link to this document's Jupyter Notebook

In order to successfully complete this assignment you must do the required reading, watch the provided videos and complete all instructions. The embedded survey form must be entirely filled out and submitted on or before 11:59pm on Tuesday February 23. Students must come to class the next day prepared to discuss the material covered in this assignment.


Pre-Class Assignment: OMP Understanding Data

Goals for today's pre-class assignment

  1. Data Environment
  2. Hello GPU
  3. Assignment wrap up

1. Data Environment

DO THIS: Watch the following video on YouTube which is a review of the "Pi" program and it's summary on critical sections Introduction to OpenMP: 12 Module 7

QUESTION: Which variables (Shared/Private) are stored in the HEAP?

Put your answer to the above question here

QUESTION: Given the answer to the previous question. Where are the other variables stored?

Put your answer to the above question here

QUESTION: Why is DEFAULT(NONE) helpful for debugging?

Put your answer to the above question here


2. Hello GPUs

Okay, these videos are just kind of fun and try to give a broad overview between GPUs and CPUS.

QUESTION: Think about the analogy demonstrated in the Mythbuster video. Serial code is the single robot arm and the GPU is the array. Using the same basic analogy, describe a program that would represent a shared memory system such as OpenMP.

Put your answer to the above question here

QUESTION: What does the acronym GPGPU stand for?

Put your answer to the above question here


3. Assignment wrap up

Please fill out the form that appears when you run the code below. You must completely fill this out in order to receive credits for the assignment!

Direct Link to Google Form

If you have trouble with the embedded form, please make sure you log on with your MSU google account at googleapps.msu.edu and then click on the direct link above.

Assignment-Specific QUESTION: No assignment specific questions for this pre-class. You can just put N/A in the form?

Put your answer to the above question here

QUESTION: Summarize what you did in this assignment.

Put your answer to the above question here

QUESTION: What questions do you have, if any, about any of the topics discussed in this assignment after working through the jupyter notebook?

Put your answer to the above question here

QUESTION: How well do you feel this assignment helped you to achieve a better understanding of the above mentioned topic(s)?

Put your answer to the above question here

QUESTION: What was the most challenging part of this assignment for you?

Put your answer to the above question here

QUESTION: What was the least challenging part of this assignment for you?

Put your answer to the above question here

QUESTION: What kind of additional questions or support, if any, do you feel you need to have a better understanding of the content in this assignment?

Put your answer to the above question here

QUESTION: Do you have any further questions or comments about this material, or anything else that's going on in class?

Put your answer to the above question here

QUESTION: Approximately how long did this pre-class assignment take?

Put your answer to the above question here


Congratulations, we're done!

To get credit for this assignment you must fill out and submit the above survey from on or before the assignment due date.

Course Resources:

Written by Dr. Dirk Colbry, Michigan State University Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.