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

Which stack is used in 8085, LIFO (Last In First Out) stack is used in 8085...

LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last kept information can be retrieved first.

Image retreval and face recognization technique, block diagram of eigen fac...

block diagram of eigen face,Viola & Jones Method,Bio-ID,RWTH-i6 Groups of People Database

Mutual inductance and coefficient of coupling, Mutual inductance and coeffi...

Mutual inductance and coefficient of coupling: The equivalent inductance of two series connected coil (with mutual inductance among them) is 0.8 or 0.2 Henry based on the rela

Break over voltage of finger voltage - thyristor , Break over  voltage of...

Break over  voltage of Finger Voltage   The  minimum  forward voltage  when the gate  is opened  at which SCR  starts  conducting  heavily is called  the break over  voltage. To

Energy, Explain different stage in energy audit?

Explain different stage in energy audit?

What do you mean by external data bus, What do you mean by external data bu...

What do you mean by external data bus? External Data Bus: A bus which connects a computer to the peripheral devices. The microprocessor-8088 has 16-bit registers, 20-bit add

What is barkhausen criterion, Q. What is Barkhausen criterion? Why is the v...

Q. What is Barkhausen criterion? Why is the value of Ab kept slightly greater than 1? The condition |Ab| = 1 is called the Barkhausen criterion. It implies that when |Ab| = 1,

Define salient-pole rotor construction - synchronous machine, Define Salien...

Define Salient-pole Rotor Construction - Synchronous Machines? Salient-pole rotor construction on the other hand, may be used for low to medium speed applications. The machines

Determine the peak frequency deviation, If an FM signal is given by s FM (t...

If an FM signal is given by s FM (t) = 100 cos [2πf c t +100 m(τ ) dτ ] and m(t) is given in figure, sketch the instantaneous frequency as a function of time and determine the pea

Role of consumers in distribution reform, Role of Consumers in Distribution...

Role of Consumers in Distribution Reform In the reforms procedure, mandatory metering for all consumers is being implemented.  Consumers should implement this measure. Public

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