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 force between the wires, Q. A magnetic force exists between two ad...

Q. A magnetic force exists between two adjacent, parallel current-carryingwires. Let I1 and I2 be the currents carried by the wires, and r the separation between them.

Give a general account of common drain amplifier, Q. Give a general account...

Q. Give a general account of common drain amplifier? The output is taken over the source terminal and when the dc supply is replaced by its short circuit equivalent, the drain

What is capacitor, What is Capacitor -  A capacitor is an electrical d...

What is Capacitor -  A capacitor is an electrical device that is used to kept electrical energy.   -  The unit of capacitance is Farad. The symbol of capacitance is C.

Saturation or active mode, Saturation or active mode While V GS  ...

Saturation or active mode While V GS   > V th  and  V DS   > (V GS   - V th ) The switch is turned on, and a channel has been made that allows current to flow

Encoder, decimal to BCD code encoder active low

decimal to BCD code encoder active low

Svd, svd calculation in matrix

svd calculation in matrix

Single phase half wave controlled rectifier , Single Phase Half wave contro...

Single Phase Half wave controlled Rectifier In half  wave  rectification either  the positive or negative half  of the ac wave is  passed while  the other  half is blocked. Be

What is accelerator key, A keyboard shortcut for a command. For example, Ct...

A keyboard shortcut for a command. For example, Ctrl + Alt + Delete are an accelerator key for the task manager in Windows 95.

The value of resistance in the regulator circuit, A zener regulator consume...

A zener regulator consumes a zener diode with an internal zener resistance of 5 ohm and the value of resistance in the regulator circuit is 82 ohm. If the supply voltage alters by

Why positive feedback is used in oscillator, Q. Why positive feedback is us...

Q. Why positive feedback is used in oscillator? The main application of positive feedback is in oscillators. An oscillator generates AC output signal without any input AC signa

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