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

What are the features used mode 2 in 8255, What are the features used mode ...

What are the features used mode 2 in 8255? The single 8-bit port in-group A is available. 1. The 8-bit port is bi-directional and additionally a 5-bit control port is availa

Address bus - bus organisation , Address Bus The address  bus is the gr...

Address Bus The address  bus is the group  of 16 lines. It is used  to carry  the address of memory  location and  addresses  of input  and output  ports as shown. It is a unid

Marginal tax rate, Stratos Corporation is a privately held tablet semicondu...

Stratos Corporation is a privately held tablet semiconductor technology firm with bright growth prospects.The past 5 years have seen the firm evolve from a pure startup to a profit

Magnetic Circuits:, A circular ring of magnetic material has a mean length ...

A circular ring of magnetic material has a mean length of 1m and a cross sectional area of .001m^2.A sawcut of 5mm width is made in the ring . calculate the magnetizing current req

What can explain failure of relative ppp to hold in reality, Q. What ...

Q. What can explain the failure of relative PPP to hold in reality? Answer: Government procedures of the price level differ from country to country. One cause for thes

Constant frequency system, Constant Frequency System In this  system c...

Constant Frequency System In this  system chopping period  T is kept constant but the  on time T om is varied. This  system is also referred to pulse with modulation or time

Show the decimal to hex conversion, Q. Show the Decimal to Hex Conversion? ...

Q. Show the Decimal to Hex Conversion? To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16.

Sectoral overview and enabling framework, Sectoral Overview and Enabling Fr...

Sectoral Overview and Enabling Framework Previously, you have studied about several Acts and Policies relevant to the power sector, their aims, main features and implications

Explain the nor gates - microprocessor, Explain the NOR GATES - Microproces...

Explain the NOR GATES - Microprocessor The NOR GATE is an OR gate with the output inverted. Consequently the outputs of a NOR gate would have the opposite states as the outputs o

Logical operations , Logical Operations Various  operations like and  ...

Logical Operations Various  operations like and  or exclusive  or complement compare and rotate are called  logical  operations. Generally flags ( not all always) are modified

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