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

Determine the form factor and peak factor, Determine the form factor and pe...

Determine the form factor and peak factor: Determine the form factor and peak factor for the above half rectified wave. Solution From the above example, I rms   =

Phisics, deriving formula of the frictional force

deriving formula of the frictional force

Physics, what do we mean when we say that an equation is dimensionally corr...

what do we mean when we say that an equation is dimensionally correct?

What do you mean by oscilloscope, Q. What do you mean by Oscilloscope? ...

Q. What do you mean by Oscilloscope? To measure time-varying signals (voltages and currents), an instrument known as an oscilloscope is employed. It can be used as a practical

Find the nature of the armature voltage, Q. The flux-density distribution p...

Q. The flux-density distribution produced in a two - pole synchronous generator by an acexcited field winding is B(θ, t) = B m sin ω 1 t cos θ Find the nature of the armatur

Electro magnetism, ELECTRO MAGNETISM: In this unit we learned about el...

ELECTRO MAGNETISM: In this unit we learned about electromagnetism and the relationship that presents between and magnetic flux and electric current. The way in which electric

Doping, expalin process of doping how to do doping

expalin process of doping how to do doping

Briefly discuss about cascaded amplifier, Q. Briefly discuss about ‘Cascade...

Q. Briefly discuss about ‘Cascaded Amplifier' using a diagram? Amplifiers are cascaded when the output of the first is the input to the second. The combined gain is whe

Explain the phase shifting circuit, Q. Discuss the operation of a transisto...

Q. Discuss the operation of a transistorized phase shift oscillator with the help of a diagram? Explain the phase shifting circuit? An oscillator is a circuit which converts el

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