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

N-type semiconductor, a)  Sketch the variation of electron concentration wi...

a)  Sketch the variation of electron concentration with temperature for i)  an n-type semiconductor doped with 1021  donors m-3 ii)  an intrinsic semiconductor.  b)  Expla

Central energy conservation fund, Central Energy Conservation Fund Thi...

Central Energy Conservation Fund This fund is to be set up at the Centre to develop the delivery mechanism for large-scale adoption of energy efficiency services like as perfo

Wiring a plug , Wiring a Plug : Let us consider the problem of connect...

Wiring a Plug : Let us consider the problem of connecting a 16 A plug, commonly known as 15 A or power plug to an electrical appliance. Do you use any old bit of wire, or any

Control system, I need some help for doing the assignment

I need some help for doing the assignment

Grey code to excess 3 using nand gates, I need to do this experiment. Can a...

I need to do this experiment. Can anyone help me out doing this

Hahaha, Ask question #Minimum 10gzhahahaau0 words accepted#

Ask question #Minimum 10gzhahahaau0 words accepted#

What are transmission bridges, Q. What are transmission bridges? How do the...

Q. What are transmission bridges? How do they assist in satisfying the connectivity?  Ans: A typical transmission bridge is demonstrated in figure. Series capacitance and shunt

What is the use of terminal count register, What is the use of terminal cou...

What is the use of terminal count register? Each of the four DMA channels of 8257 has single terminal count register. This 16-bit register is used for ascertaining that the dat

Compare mosfet with jeft, Compare MOSFET with JEFT ? a. In enhancement ...

Compare MOSFET with JEFT ? a. In enhancement and depletion types of MOSFET, the transverse electric field induced across an insulating layer deposited on the semiconductor mate

Determine tick of the material, Tick off the material, which is different f...

Tick off the material, which is different from the group (A) Constantan.            (B) Manganin. (C) Nichrome.               (D) Brass. Ans: Tick off the materi

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