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

Calculate expected peak demand for transformer, What is the expected peak d...

What is the expected peak demand for a transformer feeding the following loads?                           Connected                 kVA

Explain the electrical contact materials with examples, Explain the electri...

Explain the electrical contact materials with examples. Electrical contact materials: A number of elements in their pure form as copper, nickel, palladium, molybdenum, platin

Preventive and regular maintenance, Preventive and Regular Maintenance ...

Preventive and Regular Maintenance Preventive and regular manages of components of the distributions system is necessary to reduce/eliminate breakdowns. Care should be taken t

Handshaking receiver system, You should document each step of each iteratio...

You should document each step of each iteration of your design. 1. You should include the following items from your preparation. a. A state diagram of the handshaking receive

FLOW CHART TO RUN MOTOR, IFYOU AVE TWO DC MOTOR,RELAY,TWO BATTERYAND MICROC...

IFYOU AVE TWO DC MOTOR,RELAY,TWO BATTERYAND MICROCONTROLLER FLOW CHART TO RUN MOTOR AND CONTROL TWO BATTERIES

Linear time invariant, A LIT (linear time-invariant) system, impulse respon...

A LIT (linear time-invariant) system, impulse response h [ n ], is described by: (a) Show the block-diagram representation for this FIR filter (only use multiplier, adder

Find current through resistor using superposition theorem, Find the current...

Find the current through each resistor for the networking below using Superposition Theorem.

Abrasive jet machining system, Describe the effect of following parameters ...

Describe the effect of following parameters on working rate and accuracy of material removal in AJM. (i) Grain size (ii) Stand off distance (iii) Jet velocity. Draw sch

Explain working of digital-to-analog converters, Q. Explain working of Digi...

Q. Explain working of Digital-to-Analog Converters? Digital-to-Analog (D/A) Converters For the results of digital computations to be used in the analog world, it becomes n

A Capacitor-Fed, A Capacitor-Fed, Voltage-Step-Down, Single-Phase, Non-Isol...

A Capacitor-Fed, Voltage-Step-Down, Single-Phase, Non-Isolated Rectifier

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