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

Personal and corporate income tax rate, Ginny Jones currently works as the ...

Ginny Jones currently works as the VP-Product Strategy for a well-established enterprise software company. She and her friend, Tom Robinson, currently CFO at a competing firm (and

What do you mean by ruled surface, a) Define the surface of revolution? ...

a) Define the surface of revolution? b) What do you mean by ruled surface?

Wein bridge, does wein bridge can be used for frequency measurement? how it...

does wein bridge can be used for frequency measurement? how it is possible?

Examples of attribute data relevant for a power utility, Examples of attrib...

Examples of attribute data relevant for a power utility: Examples of attribute data relevant for a power utility are given below. •          Consumer data such as categor

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

What do you mean by transconductance, Q. What do you mean by Transconductan...

Q. What do you mean by Transconductance? The  control that the gate voltage has over the drain current is measured by transconductance and is similar to the transconductance of

Circuit, Aplication of resonance in different divices

Aplication of resonance in different divices

Basic introduction of analog building blocks, Q. Basic introduction of Anal...

Q. Basic introduction of Analog Building Blocks? Electronic systems usually process information in either analog or digital form. In order to process the two different kinds of

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