Outline
In this lab, we will learn how to use OpenMP for parallel computing. The material about OpenMP is in the second section of this gitbook. We also provide material about pThread for you in case you are interested.
For OpenMP Lab, you can run code on your laptop, your PC, or Linux servers provided by the CSE department. The following is the outline of this lab.
Introduction to OpenMP
A simple introduction to OpenMP
Helloworld
A simple program shows you how to compile
Parallel
How to create multithread
Faster
An overview of how fast we can get
Synchronization
An overview introduction of synchronization in OpenMP
By CHANG Chaokun (ckchang@cse.cuhk.edu.hk)
Last updated