最新消息:请大家多多支持

Learn OpenMP-parallel programming in C++

其他教程 dsgsd 123浏览 0评论
Learn OpenMP-parallel programming in C++

Published 07/2022
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 9 lectures (2h 29m) | Size: 832.2 MB

how to write parallel programs in C / C++

What you’ll learn
The student would be able to write parallel programs in C and C++
The learner would learn what is OpenMP, and its application in parallel processing.
The student will learn how to implement the different types of openMP construct like worksharing, environment variables, FOR construct,data variables, task etc.
The student will learn how to translate a serial C and C++ program to a parallel program

Requirements
beginner to intermediate knowledge of the C++ or C language.

Description
This is a practical course on C and C++ high level language which teaches parallel programming using openMP. We start by explaining what a parallel program is, its applications and different examples of it. Then we introduced the two main API used for parallel programming which are openMP and MPi . We also learn the difference between concurrency and parallelism.

We also discussed shared memory model, distributed memory model and hybrid model etc relative to their implementation in parallel programming.

We discussed what a task region is, and how to declare one.

Then we dived in to writing parallel programs using openMP APi.

Some of the programs demonstrated each of the openMP work sharing constructs including;

1. Parallel Regions –

e.g #pragma omp parallel

2. Runtime functions/environment variables –e.g

int my_thread_id = omp_get_num_threads(); – omp_set_num_threads(8);

3. Synchronization –

e.g #pragma omp barrier

4. Work sharing –

e.g #pragma omp for, #pragma omp sections

5. Data Environment –

e.g #pragma omp parallel shared/private (…)

6. tasks. etc.

A lot of practical examples are also included in most lectures to enable the reader get a good grasp of the concept being discussed.

At the end of the course the student would be able to efficiently implement parallel programming to improve the speed and standard of programs written in C and C++.

Thank you .

Who this course is for
C++ and C language developers


Password/解压密码www.tbtos.com

资源下载此资源仅限VIP下载,请先

转载请注明:0daytown » Learn OpenMP-parallel programming in C++

您必须 登录 才能发表评论!