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

Differentiator.., in case of a differentiator will the amplitude rise or fa...

in case of a differentiator will the amplitude rise or falls?

Pn junction, the depletion layer in the pn junction is caused by

the depletion layer in the pn junction is caused by

What is terminate and stay resident, What is TSR? TSR: The TPA also as ...

What is TSR? TSR: The TPA also as TSR stand for terminate and stay resident programs which remain in memory in an active state till activated by a hot-key sequence or other eve

Calculation of receiving end voltage, Calculation of Receiving End Voltage ...

Calculation of Receiving End Voltage Consider the simple circuit shown in Figure. To find the voltage V 2 using analytical method:   P = I V 2 = 0.5      ..... (1)

What is the physical length of this cable, Q. It is desired to cut a λ/4 le...

Q. It is desired to cut a λ/4 length of RG58A/U cable (ε r = 2.3) at 150MHz.What is the physical length of this cable?

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

Determine the induced armature emf, A250-V, 50-kWshort-shunt compound dc ge...

A250-V, 50-kWshort-shunt compound dc generator,whose schematic diagramis shown in Figure, has the following data: armature resistance 0.05 , series-field resistance 0.05 , and sh

Use of speaker, Q. Use of Speaker? Speaker:Basically speaker is the rec...

Q. Use of Speaker? Speaker:Basically speaker is the receiver for telephone. Speaker converts electrical signals received from local loop to acoustical signals(sound waves) that

Find the per-unit voltage regulation, Q. A single-phase, 3-kVA, 220:110-V, ...

Q. A single-phase, 3-kVA, 220:110-V, 60-Hz transformer has a high-voltage winding resistance of 0.3 , a low-voltage winding resistance of 0.06 , a leakage reactance of 0.8  on i

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