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

Memory address - address bus , Memory Address The memory  address is of...

Memory Address The memory  address is of 16  bits. It ranges from 0000?H to  FFFH 16bits address lines of 8085 microprocessor are  capable  of addressing 216 i e 65, 536, ( or

Calculate the voltage rating and magnetizing current, 1. For the flyback co...

1. For the flyback converter operating in the discontinuous "current" (flux) mode, derive an expression for the time at which the magnetizing current returns to zero. 2. A forwa

Ac generators - the alternator, In practice, it is usually better to wind t...

In practice, it is usually better to wind the field coils on the rotor and supply the field current to them via slip rings.  As the rotor turns, the changing magnetic field expe

Congestion, It is uneconomic to provide adequate equipment to carry all the...

It is uneconomic to provide adequate equipment to carry all the traffic which could possibly be offered to a telecommunication system. In a telephone exchange it's theoretically po

Explain about zener diodes, Q. Explain about Zener Diodes? Most diodes ...

Q. Explain about Zener Diodes? Most diodes are not intended to be operated in the reverse breakdown region. Diodes designed expressly to operate in the breakdown region are cal

Find the current and voltage at input terminals of the line, Q. A source of...

Q. A source of impedance ¯ Z S = R S = 100  has an open-circuit voltage v S (t) = 12.5 cos ωot and drives a 75- transmission line terminated with a 75- load. Find the current

Depletion zone in p-n junction, Depletion Zone in P-N Junction The pow...

Depletion Zone in P-N Junction The power of the depletion zone electric field gets increases as the reverse-bias voltage increases. One time the electric field intensity incre

What do you mean by addressing and numbering, Q. What do you mean by addres...

Q. What do you mean by addressing and numbering? Numbering and Addressing: In data and telephone networks, end equipment are more often single units than multiple devices uni

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