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

Explain kirchhoff current law, Q. Explain Kirchhoff current law? The ba...

Q. Explain Kirchhoff current law? The basic laws that must be satisfied among circuit currents and circuit voltages are known as Kirchhoff 's current law (KCL) and Kirchhoff 's

Discuss the disadvantages of an rc coupled amplifier, Q. Discuss the disadv...

Q. Discuss the disadvantages of an RC coupled amplifier? RC coupled amplifiers have a few disadvantages. The resistors use dc power and so the amplifier has low efficiency. The

Find the fourier transform of the signal, Problem (a) Give an example...

Problem (a) Give an example of a power signal and one example of an energy signal. (b) Given a periodic signal x (t) = A sin (2Bft). Calculate the power Px. (c) Diffe

Transfer characteristics of jfets, Q. Give the Shockley's equation for the ...

Q. Give the Shockley's equation for the transfer characteristics of JFET's? Where ID is the drain current and VGS is the voltage across gate and source. The squared term o

Matlab codes for transportation problem, i need matlab codes for the minimu...

i need matlab codes for the minimum cell cost method to start the initial feasible solution and the stepping stone method to find the optimum value

Perform analysis and calculate the values of vgs, A small signal amplifier ...

A small signal amplifier circuit is given in figure Q 4. The values of RD and RS must be set such that the gain of the system is 8. It is also known that Vgs = ¼ Vp. a). Per

Explain nodal analysis procedure, Nodal analysis procedure: 1.  Verify ...

Nodal analysis procedure: 1.  Verify the number of common nodes and reference node within the network. 2.  Assign current and its direction to every distinct branch of the n

Ideal operational amplifier, list the key parameters to describe the ideal ...

list the key parameters to describe the ideal operational amplifier

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