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

Importance of transistor, Importance: The transistor is the main activ...

Importance: The transistor is the main active component in practically all current electronics, and is considered through many to be one of the greatest inventions of the 20 t

Find the net force experienced by a positive charge q, Q Two charges of equ...

Q Two charges of equalmagnitude 5µC but opposite sign are separated by a distance of 10 m. Find the net force experienced by a positive charge q = 2 µC that is placed midway betwee

Auto transformer, winding turns of 415v step down transformer on 50%, 60% &...

winding turns of 415v step down transformer on 50%, 60% & 80% tapping

Explain the delay model, Explain the delay model based on logical effort of...

Explain the delay model based on logical effort often used in estimating delays in logic cells. Hence use the model to predict the delay of a 4-input NOR logic cell with a 3 times

Write explanatory notes on hard disk drive controller, Write explanatory no...

Write explanatory notes on Hard disk drive controller. Hard disk drive controller: It converts instructions from software running upon the computer to the electrical signals

Basic aspects of electromechanical energy converters, Q. Basic aspects of e...

Q. Basic aspects of electromechanical energy converters? Whereas detailed differences and particularly challenging problems emerge among various machine types, this section bri

For zero flag - conditional jumps , For  Zero  Flag JZ ( Jump on Ze...

For  Zero  Flag JZ ( Jump on Zero) and JNZ ( jump on no zero ) Instruction JZ  transfer  the  execution of the program to the  speciffed address if zero  flag is set (Z=

Applied electronics, What is coupling? Explain the types of coupling

What is coupling? Explain the types of coupling

Compute the starting torque with the starting compen sator, A three-phase, ...

A three-phase, 2200-V, 60-Hz, delta-connected, squirrel-cage induction motor, when started at full rated voltage, takes a starting current of 693 A from the line and develops a sta

Assembly language programming , Assembly Language Programming  In this...

Assembly Language Programming  In this   chapter  we will   discuss  programming  in assembly  language and  machine  language. The  difference  in machine  assembly  and high

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