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

Find the cutoff frequency, Q. A rigid 50- coaxial transmission line has ai...

Q. A rigid 50- coaxial transmission line has air as dielectric. If the radius of the outer conductor is 1 cm, find the cutoff frequency

De multiplexing address data bus, De multiplexing Address Data Bus (AD 7 - ...

De multiplexing Address Data Bus (AD 7 - AD 0 ) As it is already discussed that  lower  order address bus (A 7 - A 0 )  is multiplexed  with data bus (D 7 - D 0 ). Hence  pins

Plug and socket condition -safe conduct, Plug and Socket Condition : In th...

Plug and Socket Condition : In the same way that your knowledge of flexes and fuses is wasted if you don't care to ensure that flexes and cables are routed safely and sensibly, so

Explain the block diagrtam of d.c. voltmeter , Q.   Explain the block diagr...

Q.   Explain the block diagrtam of D.C. voltmeter with direct coupled amplifier. Sol. D.C, voltmeter with direct coupled Amplifier         The D.C. electronic voltmeters

amp circuit , Refer to the op amp circuit shown below. Let R 1 = ...

Refer to the op amp circuit shown below. Let R 1 = 140 k_, R 2 = 10 k_, R 3 = 10 k_, R 4 = 20 k_, RL = 10 k_. Assume the op amp is ideal. Find the equation relating the

Consider circuit to obtain complete solution for the voltage, Consider the ...

Consider the circuit of Figure (a) and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage v x (t) across the 5- resistor.

Probability of availability of free lines, Q. How does one arrive at the pr...

Q. How does one arrive at the probability of availability of free lines during busy hour? How can this be improved? Ans: One can arrive at probability of free lines during busy

What is global positioning satellite, What is Global Positioning Satellites...

What is Global Positioning Satellites (GPS) Global positioning satellite (GPS) systems are used to determine exact location of a car, ship, airplane or any conveyance that trav

Write a brief note on common drain amplifier, Q. Write a brief note on comm...

Q. Write a brief note on common drain amplifier Since voltage at the gate-drain is more easily determined than that of the voltage at gate-source, the voltage source in the inp

Explain pentium processor has a superscalar architecture, 'Pentium processo...

'Pentium processor has a superscalar architecture'. Explain the meaning of the statement. The Pentium microprocessor is organized along with three execution units. Single execu

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