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 load flow analysis, Explain Load Flow Analysis The method commo...

Explain Load Flow Analysis The method commonly used for load flow analysis is the nodal analysis. The nodal analysis method is given in many books on circuit theory and is base

., ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

Power angle and performance characteristics, Q. Power Angle and Performance...

Q. Power Angle and Performance Characteristics? The real and reactive power delivered by a synchronous generator, or received by a synchronous motor, can be expressed in terms

Magnitude comparator, circuit diagram of 2 bit magnitude comparator

circuit diagram of 2 bit magnitude comparator

Compute the rated-load efficiency, The following data apply to a 100-kW, 25...

The following data apply to a 100-kW, 250-V, six-pole, 1000-r/min long-shunt compound generator: no-load rotational losses 4000 W, armature resistance at 75°C = 0.015 , series-fie

Illustrate process characterics of ultrasonic machining, Discribe the ultra...

Discribe the ultrasonic machining with main emphasis on the following (a) Basic working Principle and machining set up (b) Accuracy and surface complete on work materials

Immediate addressing , Immediate  Addressing In this  addressing mode...

Immediate  Addressing In this  addressing mode that 8/16  bit data  is specified  in the  instruction itself  as its  one of the  operands. Normally the instructions  using  a

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