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

Explain state transition diagram, a. Explain State Transition Diagram and d...

a. Explain State Transition Diagram and define the various SDL symbols used in state transition diagram. b. Draw the signal exchange diagram for a local call used to show the se

3-phase 120 degree mode vsi , 3-phase  120 0 Mode VSI In 1200 mode ...

3-phase  120 0 Mode VSI In 1200 mode VSI each thyristor  conducts for 1200. At a  time only  thyristor  one form  upper  group  and another  form group will conduct.  Only th

Find the percent of probable error, Q. A voltmeter with a full scale of 100...

Q. A voltmeter with a full scale of 100 V has a probable error of 0.1% of full scale. When this meter is employed to measure 100 V, find the percent of probable error that can exis

Efficiency of shunt geranerator, A 100kw,230v,dc shunt generator,with Ra=0....

A 100kw,230v,dc shunt generator,with Ra=0.05,and Rf=57.5 has no load rotational loss(friction,wandage,core loss)of 1.8kw.compute a) The generator efficiency at full load.

Methods of testing, Methods of Testing Irrespective of reasons, testin...

Methods of Testing Irrespective of reasons, testing is commonly carried out 1. On site, or 2. In a Meter Testing Station (MTS) accredited as per IS/ISO/IEC 17025.

Potentiometer, explain the details of varnier type potentiometer

explain the details of varnier type potentiometer

Calculate the monthly electric bill, Calculate the monthly electric bill fo...

Calculate the monthly electric bill for TESTU.  Metering is as follows: B 00,000 kWHr C 00,000   kVARHr D 0,000        kW  peak demand Facilities Charge = $500

What are the hardware elements in the embedded systems, What are the hardwa...

What are the hardware elements in the embedded systems? Hardware Elements in the Embedded Systems are as follows: (i) Power Source (ii) Clock Oscillator Circuit and Clock

Operation of zener diode, Operation of Zener Diode The Zener diode's o...

Operation of Zener Diode The Zener diode's operation depends upon the heavy doping of its p-n junction permitting electrons to tunnel from the valence band of the p-type mater

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