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

Short circuits effect on cables, When you have a three phase short circuit ...

When you have a three phase short circuit of power cables laid in a trefoil formation they repel apart very dramatically. Why is this and what is happening?

Single Phase Induction Motor, How do I connect a Capacitor on the machine i...

How do I connect a Capacitor on the machine if it has a start mechanism

Explain information obtained for the load flow analysis, Explain Informatio...

Explain Information Obtained for the Load Flow Analysis (i)  Magnitude and phase angle of the voltage at each bus. (ii)  Active and Reactive power flow in each line. (iii

#boiler troubles, Ask question #Minimum 300 words accepted#

Ask question #Minimum 300 words accepted#

Meters and measurements, The subject of electrical measurements is such a l...

The subject of electrical measurements is such a large one that entire books have been written on the topic. Only a few basic principles will be introduced here. Practical measurem

Determine the resonant frequency and bandwidth, (a) For a series RLC resona...

(a) For a series RLC resonant circuit, find an expression for the voltage across the resistance VR and obtain the ratio V R /V S , where V S is the applied voltage. Identify the e

For the nor and inverter realizations, Q. For the NOR and inverter realizat...

Q. For the NOR and inverter realizations shown in Figure, find the truth table, the type of gate realized, and the expression for the logic output, in each case.

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

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