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

Design a circuit for indicate the connection of a battery, You are asked to...

You are asked to design a circuit that indicates if a 12 V battery has been connected the correct way around to two terminals, A and B. To do this, you have chosen to use a special

Cipper, when i/p voltg is grater than battery diode is clse or open

when i/p voltg is grater than battery diode is clse or open

Define the parity with respect to serial communication, With respect to ser...

With respect to serial communication define the parity. Besides the synchronization given by the use of start and stop bits, an additional bit termed as a parity bit may opt

Explain workinf of colpitts oscillator, Q. Explain workinf of colpitts osci...

Q. Explain workinf of colpitts oscillator? When the collector supply voltage V cc is switched on, the capacitors C1 and Cz are charged. These capacitors C1 and Cz discharge thr

D.C. generator, I have made a wind turbine with vertical blades. I want to ...

I have made a wind turbine with vertical blades. I want to rotate magnets on the rotor with the coils being stationary.How do I wind the coils and must the magnets be N/S opposite

Registers - microprocessors architecture , Registers Various  register...

Registers Various  registers  shown in figure  are discussed  below  in detail.

Give the classification of oscillators, Q. Give the classification of oscil...

Q. Give the classification of oscillators. Discuss the frequency stability of oscillators. Oscillators are classified in the following different ways. 1. According to the wa

Multiplexed address data bus - pins and signals , Multiplexed Address/ Data...

Multiplexed Address/ Data Bus Pins AD 7 - AD) are used for multiplexed address data bus. This bus is bidirectional  input output  and  serves two  purpose. Initially the bus

Short-term measures for technical loss reduction, Short-Term Measures for T...

Short-Term Measures for Technical Loss Reduction The short-term measures involve measures needs for immediate improvement and reduction of losses within the system. These are

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