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

Determine the resistance and temperature-coefficient, Determine the resista...

Determine the resistance and temperature-coefficient: A platinum coil has a resistance of 3.146 Ω at 40 o C and 3.767 Ω at 100 o C. Determine the resistance at 0 o C and the t

Resistivity, Low and high resistivity materials and their applications

Low and high resistivity materials and their applications

Explain about adaptive control system, Q. Explain about Adaptive Control Sy...

Q. Explain about Adaptive Control System? Another type of control system that makes use of the computer is known as adaptive control, which is functionally represented in Figur

Find the initial current, In the circuit shown below, the capacitor initial...

In the circuit shown below, the capacitor initially has a voltage across it 4 Volts (at t = 0). a.  Write down the expression for V C (t) when the switch is closed. b.  Writ

Sketch phasor diagrams for lagging power factor load, Q. For a transmission...

Q. For a transmission-line model that includes only the series impedance Z, sketch phasor diagrams for: (a) Lagging power factor load. (b) Leading power factor load.

Bjt, what is compensation of bjt

what is compensation of bjt

Model and simulaions, a short review article on the classification of time ...

a short review article on the classification of time frame

Explain input characteristic of common emitter configuration, Q. Explain Th...

Q. Explain The Input Characteristics Of Common Emitter Configuration? Input characteristics:In the figure the abscissa is the base current IB, The ordinate is the base to emitter

Define integrated circuits, Q. Define Integrated circuits? For the fabr...

Q. Define Integrated circuits? For the fabrication of semiconductor circuits, there are three distinct technologies employed: 1. Discrete-component technology, in which each

Conductors for lines, Conductors for Lines The sizing of conductor mus...

Conductors for Lines The sizing of conductor must depend upon the load it is expected to serve and other factors, such as capacity required in future. Or else conductors/cable

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