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

Simplest equivalent circuit topology using lumped elements, Simplest equiva...

Simplest equivalent circuit topology using lumped elements: For each of the Smith chart traces below, sketch (at the right of each chart) the simplest equivalent circuit topol

Determine the shaft power output, Determine the shaft power output: A ...

Determine the shaft power output: A 6-pole, 50 Hz, 3-phase induction motor running on full load develops a useful torque of 180 Nm when the rotor emf frequency is 2 Hz. Determ

Determine phase - voltage and power, Determine phase - voltage and power: ...

Determine phase - voltage and power: A balanced star connected load is supplied from a symmetrical 3-phase 440 Volt system. The current in each of the phase is 40 Amp and lags

Pdc, disadvantages of shunt&series clippers

disadvantages of shunt&series clippers

Digital frequency meter, Q. Explain digital frequency meter. or E...

Q. Explain digital frequency meter. or Explain principle of digital frequency meter and discuss utility of time base selector with suitable diagrams. Sol. Digital Fr

Give the significance of sim and rim instruction, Give the significance of ...

Give the significance of SIM and RIM instruction available in 8085. Instruction SIM: Set Interrupt Mask. This is a 1 byte instruction and can be used three dissimilar functio

Determine the voltage at the load terminals, Two single-phase 60-Hz sinusoi...

Two single-phase 60-Hz sinusoidal-source generators (with negligible internal impedances) are supplying to a common load of 10 kW at 0.8 power factor lagging. The impedance of the

In the circuit, see figure on this link: http://tinypic.com/r/1zodevk/8. ...

see figure on this link: http://tinypic.com/r/1zodevk/8. A. j400 I1-j1200 I2 (A) B. -j400 I1+j1600 I2 (A) C. j400 I1+j400 I2 (A) D. -j400 I1-j400 I2 (A)

States kirchoff''s voltage law, States Kirchoff's Voltage Law Kirchoff...

States Kirchoff's Voltage Law Kirchoff's Voltage Law (KVL) describes in any closed loop in a network, the algebraic sum Figure of the voltage drops (i.e. products of current

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