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

Conditional call instruction, Conditional Call Instruction Similar  to ...

Conditional Call Instruction Similar  to conditional  jump  instructions there are conditional call  instructions  also based on various  flags.

Explain the hysteresis loop of a magnetic material, Explain the hysteresis ...

Explain the hysteresis loop of a magnetic material. Hystereses loop-Below the Curie temperature all-ferromagnetic materials show the identified hysteresis in the B (i.e. flux

TRANSFORMER, what are the characteristics of transformer?

what are the characteristics of transformer?

Calculate the thermal velocity of an electron, Question: a) Describe t...

Question: a) Describe two mechanisms by which electrons can be excited from the valence band to the conduction band? b) Given that the direct-band gap energy for Gallium N

Analysis of aspects of design for excellence, We commissioned a 'bad practi...

We commissioned a 'bad practice exemplar' by asking Plexus to modify a good design (provided by Valor) to demonstrate the most likely kinds of faults in each of the areas Design fo

What is the pipelining, A method used in advanced microprocessors where the...

A method used in advanced microprocessors where the microprocessor begins implementing a second instruction before the first has been done. That is, various instructions are in the

Compute the efficiency of the transformer, Compute the efficiency of the tr...

Compute the efficiency of the transformer of Example corresponding to (a) full load, 0.8 power factor lagging, and (b) one-half load, 0.6 power factor lagging, given that the input

Molecular chain, Molecular Chain (MIT, Princeton, Colorado) Consider a ...

Molecular Chain (MIT, Princeton, Colorado) Consider a one-dimensional chain consisting of N molecules which exist in two configurations, α, β, with corresponding energies  and

What do you mean by direct coupling, Q What do you mean by Direct coupling?...

Q What do you mean by Direct coupling? In this method the a.c. output signal is fed directly to the next stage. No reactance is included in this coupling network. Special d.c.

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