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 ferroelectricity, Explain ferroelectricity. Ferroelectricity: ...

Explain ferroelectricity. Ferroelectricity: - Materials of ferroelectric have a high dielectric constant that is non-linear that is, this depends to a considerable extent on t

Write some disadvantages of loosely coupled systems, Write some disadvantag...

Write some disadvantages of loosely coupled systems More complicated due to the needed additional communication hardware. They are less portable and more expensive because o

What is a positive clipper and explain its working, Q. What is a positive c...

Q. What is a positive clipper? Explain its action with the help of a circuit. A positive clipper is the circuit which is used to cut off the positive half cycle. The circuit wi

Identify a variety of security threats, Each year the University computer s...

Each year the University computer society holds a „virtual fair? in Second Life in order to raise money for charity. The main attraction at the event is a lucky dip, where attendee

Binary divider, what is the digital logic circuit for binary divider?

what is the digital logic circuit for binary divider?

How is 8255 (programmable peripheral interface) configured, How is 8255 (Pr...

How is 8255 (Programmable Peripheral Interface) configured if its control register contains 9B h. Ans. Programmable Peripheral Interface Command Byte B (sets or

Resistivity materials, explain the properties and the application of high r...

explain the properties and the application of high resistivity materials related with tunsten and carbon?

Water.., hot and cold lime soda process

hot and cold lime soda process

Calculate the open circuit voltage, This question is designed to give you ...

This question is designed to give you practice in manipulating circuit equations using j notation, and to demonstrate that techniques that you have already studied in the d.c. c

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