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

Substation preventive maintenance scheduling optimization, Introduction: ...

Introduction: The scheduling system that is followed by the maintenance department is not well established and is dependable on employee's personal judgment. There were a lot o

Short note on types of enclosure of machine, Q.   Write a short note on typ...

Q.   Write a short note on types of enclosure of machine. Sol.       The various types of d.c. machine :              (1) Magnetic frame or Yoke              (2)

Chemistry, explain why entropy of a gas increases with volume and tempeart...

explain why entropy of a gas increases with volume and tempearture

Find temperature coefficient of resistance in semiconductors, Semi-conducto...

Semi-conductors have temperature coefficient of resistance.  (A) Negative                                    (B) Positive (C) Both positive and negative        (D) none o

Calculate the current flow and voltage drops, Based on Figure, using star-d...

Based on Figure, using star-delta transformation, calculate the current flow and voltage drops at 6kΩ resistor.

Zero flag - sub subtract instruction , Zero Flag Since results  is n...

Zero Flag Since results  is non  zero in this  example zero  flag is reset.

Break over voltage of finger voltage - thyristor , Break over  voltage of...

Break over  voltage of Finger Voltage   The  minimum  forward voltage  when the gate  is opened  at which SCR  starts  conducting  heavily is called  the break over  voltage. To

Explain the meaning of duality in boolean algebra?, Explain the Meaning of ...

Explain the Meaning of Duality in Boolean Algebra? Any algebraic equality that derived from the axioms of the Boolean algebra remains true when the operators OR and AND are in

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