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

Miller sweep circuit, explain the working of miller sweep circuit using op ...

explain the working of miller sweep circuit using op amp ic

Explain the working of a bootstrap sweep generator, Q. Use necessary circui...

Q. Use necessary circuit and waveforms to explain the working of a Bootstrap sweep generator The bootstrap circuit illustrated in figure given below is a commonly used method f

Explain sampling at the nyquist rate, Explain Sampling at the Nyquist Rate?...

Explain Sampling at the Nyquist Rate? What would happen if we reduced the sampling frequency? In the time domain, we would be getting less samples for each period. In the frequ

Addition of binary numbers , Addition of binary numbers Example:   Ad...

Addition of binary numbers Example:   Add  110010102 ( -510). and 00000101 2 (+5 10 ) Solution :                         Binary                                   signed

Merits and demerits of fixed bias with emitter resistor, Merits: The ci...

Merits: The circuit has the trend to stabilize operating point against changes in temperature and β-value. Demerits: In this type of circuit, to keep I C  independent o

Transistor voltmeter, \ Transistor voltmeter (TVM) : a simple diagram of ...

\ Transistor voltmeter (TVM) : a simple diagram of TVM using two transistors in the bridge configuration is as shown. TVM is provided by using transistor bridge circuits. In b

What do you mean by sequential blocks, Q. What do you mean by Sequential Bl...

Q. What do you mean by Sequential Blocks? Neglecting propagation delays, which are measures of how long it takes the output of a gate to respond to a transition at the input of

Basic requirement of semiconductor laser, What is basic requirement of semi...

What is basic requirement of semiconductor laser? Draw its label diagram and explain its working with necessary theory. Write down the applications of semiconductor laser.

Diode current -zener region, Diode current: Zener region: when the r...

Diode current: Zener region: when the reverse biased voltage is increase to a very high value then a point is reached where will is suddenly going a very high value. Th

What are hard magnetic materials, What are hard magnetic materials? Har...

What are hard magnetic materials? Hard Magnetic materials- They have a slowly rising magnetization curve along with large hysteresis loop area and therefore large energy losses

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