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

DC shunt generator, in DC series generator we consider Eg=V+Ia(Ra+Rse).But ...

in DC series generator we consider Eg=V+Ia(Ra+Rse).But in DC shunt generator why it is only Eg=V+IaRa and not Eg=V+Ia(Ra*Rsh/Ra+Rsh)

Regions of operation in bjt, Q. Regions of operation in BJT ? Transisto...

Q. Regions of operation in BJT ? Transistor find many applications like amplifier, switch etc. depending upon the polarity and the magnitude of the applied voltages across the

Octal number systems, Octal Number Systems Now the  question may  arise...

Octal Number Systems Now the  question may  arise in one mind  that why  to learn  octal  number  system when  neither  human  nor the  digital  systems  uses. It  hence it is

Semiconductors, Why do potential barriers breaks when a breakdown voltage i...

Why do potential barriers breaks when a breakdown voltage is application to semiconductor

Geographic information system, Geographic Information System: Geograph...

Geographic Information System: Geographic Information System (GIS) is a computer system capable of assembling, manipulating, storing, and displaying geographically referenced

Electronic photo flash, Q. Electronic Photo Flash? A simplified schemat...

Q. Electronic Photo Flash? A simplified schematic diagram of the electric circuit of an electronic photo flash typically used on cameras is shown in Figure 7.7.1. By passing a

Discuss the disadvantages of an rc coupled amplifier, Q. Discuss the disadv...

Q. Discuss the disadvantages of an RC coupled amplifier? RC coupled amplifiers have a few disadvantages. The resistors use dc power and so the amplifier has low efficiency. The

Evaluate the temperature corresponding to a thermistor, Question: (a) A...

Question: (a) A tube from one end of a differential pressure transducer is placed at the bottom of a cylindrical cup (D= 0.8m, H= 0.1m) to measure mass flow rate. The cup i

Assignment, design single phase distribution circuit from a supply point to...

design single phase distribution circuit from a supply point to a load

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