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

Open-loop control system, Q. Open-loop control system? An open-loop sys...

Q. Open-loop control system? An open-loop system is one in which the control action is independent of the output or desired result, whereas a closed-loop (feedback) system is o

Digital logical disign, design SR latch with universal logic gates.draw and...

design SR latch with universal logic gates.draw and explain the logic diagrams

What are the features of clamping circuits, Q. What are the features of cla...

Q. What are the features of clamping circuits? The clamping circuit does not change the peak to peak or r.m.s value of the waveform .Thus the input waveform and clamped output

UJT Help, What''s the formula for the VB2'' in a UJT?

What''s the formula for the VB2'' in a UJT?

Telecommunication principles, Draw the block diagram of TDM-PCM system. Exp...

Draw the block diagram of TDM-PCM system. Explain each block. Calculate the bit rate at the output of this system

Explain working of public switched telephone network, Q. Explain working of...

Q. Explain working of Public Switched Telephone Network? Public Switched Telephone Network (PSTN) accommodates two kinds of subscribers: private andpublic. Subscribers to priv

Electrical machine, what happens when we apply DC supply to transformer pri...

what happens when we apply DC supply to transformer primary

Cause of sparking at the brushes of a dc motor, Q. Cause of sparking at the...

Q. Cause of sparking at the brushes of a DC Motor? Ans: Sparking at the brushes can be occur due to poor quality of carbon brushes, loose connection, poor armature of carbon

\, Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4...

Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4= 8, I5= 7. Determine: Ieq, Req, and V3.

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