What is work-sharing constructs, Electrical Engineering

Assignment Help:

Q. What is Work-Sharing Constructs?

A work-sharing construct distributes execution of associated region amongst the members of team which encounters it. A work-sharing construct doesn't launch new threads.

OpenMP defines three work sharing constructs: for, single and sections. In all of these constructs there is an implicit barrier at the end of construct unless a nowait clause is included.

(a) Sections

The sections construct is a no iterative work sharing construct which causes structured blocks to be shared among threads in team. Every structured block is executed one time by one of threads in team. The syntax of portions construct is:

#pragma omp sections [set of clauses.] 

{

 #pragma omp section 

 structured-bloc  

#pragma omp section 

structured-block 

.

.

}

The clause is one of the following:

private(list)

firstprivate(list)

lastprivate(list)

reduction(operator: list)

nowait


Related Discussions:- What is work-sharing constructs

Draw a labeled block diagram of the encoder, Question: (a) The convers...

Question: (a) The conversion of a time varying analog audio signal into digital form is carried out using an electronic circuit known as a (signal) encoder. Draw a labeled bl

Give applications of emitter follower, Q. Give applications of emitter foll...

Q. Give applications of emitter follower The emitter follower has the following principal applications: 1. To provide current amplification with no voltage gain 2. Impede

What is thermal runaway, Q. What is thermal runaway. The problem of sel...

Q. What is thermal runaway. The problem of self heating arises due to dissipation of power at the collector junction. The leakage current ICBO is extremely temperature dependen

Linear and digital ics, write down the application of shift register and ex...

write down the application of shift register and explain it.

Can you explain twos complement division, Q. Can you explain twos Complemen...

Q. Can you explain twos Complement Division? 2's complement division is repeated 2's complement subtraction. The 2's complement of the divisor is calculated, and then added to

Transistor, Various compensation techniques

Various compensation techniques

Create a time diagram - conveyer, When the PLC is in the RUN mode it will s...

When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously. This project is divided into four outcomes: (a)    Detect block on entry, close

Bjt, bias compensation using diode and thermistor

bias compensation using diode and thermistor

What is the output modes used in 8279, What is the output modes used in 827...

What is the output modes used in 8279? 8279 gives two output modes for selecting the display options. 1.Display Scan In this mode, 8279 gives 8 or 16 character-multiple

Define cables - generation and absorption of reactive power, Define Cables ...

Define Cables - Generation and Absorption of Reactive Power? It is well known that the shunt capacitance of the cable is very large as compared to that of an overhead line. Thi

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd