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 hysteresis loss in watts, Q. A sample of iron having a volume of 2...

Q. A sample of iron having a volume of 20 cm is subjected to a magnetizing force varying sinusoidally at a frequency of 400 Hz. The area of the hysteresis loop is found to be 80 cm

Determine the armature current and power factor of the motor, A three-phase...

A three-phase, wye-connected, 2300-V, 60-Hz, round-rotor synchronous motor has a syn- chronous reactance of 2 per phase and negligible armature resistance. (a) If the motor tak

Excitation, excitation in an ac generator

excitation in an ac generator

The initial discharge current, A 0.1µF capacitor is charged to 200 V before...

A 0.1µF capacitor is charged to 200 V before being connected across a 4 kΩ resistor. Determine: (a)  The initial discharge current (b)  The time constant of the circuit

TTL NAND gate, Q. Explain working of TTL NAND gate? The TTL logic famil...

Q. Explain working of TTL NAND gate? The TTL logic family uses only transistors instead of a combination of transistors and diodes. TTL has the same high and low ranges as DTL.

Ampliier, importance of amplifier in electronic circuits

importance of amplifier in electronic circuits

Clapp oscillator, having looked at the circuit, i first wanted to start my ...

having looked at the circuit, i first wanted to start my frequency from 0 and plot for 10000 to 20000. so in matlab i used f = 0:10000:20000; but the equation for frequency is f= 1

Number of holes in valence band, Number of holes in valence band: Der...

Number of holes in valence band: Derive the expression for number of holes in valence band and Fermi level in an intrinsic semiconductor. (b) By that percentage does the

Diode, Hi all i want a conclusion for V-I characteristic curve of Silicon D...

Hi all i want a conclusion for V-I characteristic curve of Silicon Diode (I) using Oscilloscope

Solar energy, project for solar panel for farms in Saudi Arabia

project for solar panel for farms in Saudi Arabia

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