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

Minimized circuit not -or and gate, 1.  Given S(D1) = !Q1 X + !Q1 Q0 + Q1 !...

1.  Given S(D1) = !Q1 X + !Q1 Q0 + Q1 !Q0 !X                                                        and       S(D0) = !Q1 !Q0 !X + Q0 X + Q1 !Q0 !X       A.  DRAW A MINIMI

Briefly explain the principle and operation of strain gauges, Question: ...

Question: (a) With the help of a clearly labeled diagram explain the functioning of a basic thermocouple. (b) Briefly explain the principle and operation of strain gauges

Transformers, A 440v 4-pole dc generator takes an armature current of 50A w...

A 440v 4-pole dc generator takes an armature current of 50A when rotating at 626 rpm. the armature circuit resistance is 0.25 ohms. determine the generated emf?

Show the properties of a good heat sink, Properties of a good heat sink ...

Properties of a good heat sink For maximum efficiency, a heat sink should be 1)Be in good thermal contact with the transistor case 2)Have the largest surface area 3)Be

Explain the operation of the counter, Q. Figure shows the mod-8 counter whi...

Q. Figure shows the mod-8 counter which counts from 010 to 710 before resetting. Explain the operation of the counter and sketch the timing diagram.

Explain practical digital to analog converters, Explain Practical Digital t...

Explain Practical Digital to Analog Converters? In several DSP applications, we must reconstruct an analog signal after the digital processing stage. This is completed using a

Explain light-emitting diode, Q. Explain Light-emitting diode? This is ...

Q. Explain Light-emitting diode? This is a reliable, rugged, and inexpensive semiconductor display device requiring about 10 mA of current flow for full illumination. An LED is

Full wave rectifier with filter, what is the theory for full wave rectifier...

what is the theory for full wave rectifier with c filter

File flops - introduction to microprocessors, File Flops The flip fl...

File Flops The flip flop is a one storage biteable   device. The basic  bistable device stores a binary  of inputs  value. the flip flops  are categorized according  to the nu

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