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

Met, AC and DC distribution onboard ships

AC and DC distribution onboard ships

Describe schmitt trigger, a) Describe Schmitt trigger with the help of tran...

a) Describe Schmitt trigger with the help of transfer characteristics. b) Also get the expression of hysteresis voltage VH and output waveform for sinusoidal input signal

Explain in brief the functions of clock generator chip, Explain in brief th...

Explain in brief the functions of the clock generator chip, 8284. 8284 Clock generator: The 8284 is an ancillary element to the microprocessors. Without any clock generato

Determine the parameters of the equivalent circuit, The no-load and blocked...

The no-load and blocked-rotor tests on a three phase, wye-connected induction motor yield the following results: • No-load test: line-to-line voltage 400 V, input power 1770 W,

Define the universal property of nand and nor gates, Define The universal p...

Define The universal property of NAND and NOR Gates? The NAND and NOR gates are called universal gates, because any gate can build by using these two gates. The univers

Draw the logic diagram of the enabled d latch, Q. (a) Draw the logic diagra...

Q. (a) Draw the logic diagram of the enabled D latch using only NAND gates. (b) Complete the timing diagram of Figure (a) of theDlatchwhose block diagram and truth table are giv

Metallic bonding, Metallic Bonding In metals, the outer shell is fi...

Metallic Bonding In metals, the outer shell is filled through no more than three electrons (loosely bound and given up easily) => great chemical activity and very high elec

Kirchoff''s current law, Kirchoff's Current Law The total current ent...

Kirchoff's Current Law The total current entering a node in a circuit is equal to the total current leaving that node. A Node is a junction between two or more components.

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