Module 2: Programming Model

11/24/98


Click here to start


Table of Contents

Module 2: Programming Model

Module 2: Programming Model

2.A User Interface Model

2.B Execution Model

Creating Parallel Regions

Parallel Regions

Parallel Regions (contd.)

Synchronization

Mutual Exclusion

Atomic Update

Barrier Synchronization

Master Section

Communicating between threads

Sub-programs in Parallel Regions

Scope Definitions

Default Storage Attributes

Default Storage Attributes

Changing Default

Private Clause

Firstprivate Clause

Default Clause

Default Clause Example

Threadprivate

2.C Worksharing Directives

Motivation for Worksharing

Do loop example

Sections

Summary

Home Page: http://www.openmp.org