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

Difference, Difference between bootstrip sweep circuit and Miller sweep ci...

Difference between bootstrip sweep circuit and Miller sweep circuit

Find the output voltage in terms of the input voltage, Q. Find the output v...

Q. Find the output voltage in terms of the input voltage? In order to illustrate the insensitivity of feedback circuits to variations of the op-amp parameters, let us consider

Draw a relay construction diagram, Draw a relay construction diagram and br...

Draw a relay construction diagram and briefly explain the operation of a relay. Define the terms normally open and normally closed. Define the terms Set and Reset for relays.

Matlab, design analog normalised low pass filter by using matlab routine ch...

design analog normalised low pass filter by using matlab routine cheb1ap

What is the use of ale, What is the use of ALE The ALE is used to latch...

What is the use of ALE The ALE is used to latch the lower order address so that it can be available in T2 and T3 and used for identify the memory address. During T1 the ALE goe

Advantages of the n-channel mosfet over the p-channel, Q. What are the adva...

Q. What are the advantages of the n-channel MOSFET over the p-channel? The main advantage of the n-channel MOSFET over the p-channel is due to the fact that charge carriers in

What are shift registers - sequential logic circuit, What are Shift Registe...

What are Shift Registers - Sequential Logic Circuit? The Shift registers are a type of sequential logic circuit that mainly for storage of digital data and they are a group of

Compute the effective armature, For a 45-kVA, three-phase, wye-connected, 2...

For a 45-kVA, three-phase, wye-connected, 220- V synchronous machine at rated armature current, the short-circuit load loss (total for three phases) is 1.80 kWat a temperature of 2

Octal to binary conversion, Octal to binary Conversion Conversion form ...

Octal to binary Conversion Conversion form  octal to binary  is the reverse  of this process. Express each  octal digit  in three bit  binary  equivalent. Ex. Convert 3576

Explain intrinsic semiconductor, Explain Intrinsic Semiconductor. Intr...

Explain Intrinsic Semiconductor. Intrinsic Semiconductor: An extremely pure semiconductor is termed as intrinsic semiconductor. But at absolute zero temperature its valence b

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