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

Electromechanical energy conversion, derived expression for reluctant torqu...

derived expression for reluctant torque in rotating electrical machine

CRO probe, #question. passive probe .

#question. passive probe .

Evaluate the form factor, Evaluate the form factor: For the saw tooth ...

Evaluate the form factor: For the saw tooth wave illustrated in Figure, find out the form factor. Figure: Saw Tooth Wave Solution Time period of given wave i

Find the forced component of the current, Q. Consider an RC parallel circui...

Q. Consider an RC parallel circuit excited by (a) i(t) = 20e -2t A, and (b) i(t) = 20 A. Find the forced component of the current through the capacitor for R = 2  and C = 2F.

Tariff policy - electricity policies, National tariff policy: The Centr...

National tariff policy: The Central Government notified the National Tariff Policy on January 6, 2006, for the power sector in line along with the Section 3 of the EA, 2003. Wi

Explain common emitter circuit, Q. Explain Common Emitter Circuit With The ...

Q. Explain Common Emitter Circuit With The Help Of A Circuit Diagram? Most transistor circuits have the emitter,rather than the base,as the terminalcommon to both input and out

What are macros, What are Macros? Macro is a group of instruction. The ...

What are Macros? Macro is a group of instruction. The macro assembler makes the code in the program each time where the macro is called. Macros are described by MACRO & ENDM di

Multiplexer, design a 32:1 multiplexer using two 16:1 multiplexer

design a 32:1 multiplexer using two 16:1 multiplexer

Determine the resistivity of the wire, The resistance of 1.5 km of wire of ...

The resistance of 1.5 km of wire of cross-sectional area 0.17 mm 2 is 150Ω. Determine the resistivity of the wire.

Define the property under which resistance of metals vanish, The property d...

The property due to which the resistance of some metal or compound vanishes under certain conditions is (A) Semi conductivity.                     (B) Super conductivity.

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