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

Lt metering or low tension metering, LT Metering or Low Tension Metering ...

LT Metering or Low Tension Metering The subsequent types of meters are generally used for LT consumers: Whole Current Meters i)   Single phase meters ii)   3-phase

What do you mean by sign bit, Q. What do you mean by Sign Bit? The sign...

Q. What do you mean by Sign Bit? The sign bit is like simple as it gets 0 denotes a positive number and 1 denote a negative number and flipping the value of this bit flips the

Electric roadway system specification, The electric roadway system shall ut...

The electric roadway system shall utilize solar energy as the main power source. The electric roadway system shall negotiate with the power utility on backup power supply.

Explain djnz instructions of intel 8051 microcontroller, Explain DJNZ instr...

Explain DJNZ instructions of intel 8051 microcontroller? a) DJNZ Rn, rel Decrement the content of the register Rn and jump if not zero. b) DJNZ direct, rel Decreme

Define electrical power, Electrical power Power P in an electrical circ...

Electrical power Power P in an electrical circuit is given by the product of potential difference V and current I. The unit of power is the watt, W.

Different types of errors in measurement, Q.   Enumerate different types o...

Q.   Enumerate different types of errors in  measurement. How can these errors be minimized.                Sol. Types of errors: Errors may arise from different sources and

What are the advantages of digital cameras, What are the Advantages of digi...

What are the Advantages of digital cameras Advantages of digital cameras over manual cameras include: no processing costs (As there is no need to develop film or make prints),

Public and extrn assembler directive, What do you understand by PUBLIC ...

What do you understand by PUBLIC assembler directive?   The PUBLIC and EXTRN directives are very significant to modular programming. PUBLIC used to state that labels of

Find the value of noncoherent source, If E b /N 0 = 20 in a coherent ASK s...

If E b /N 0 = 20 in a coherent ASK system, find the value of Eb/N0 that is needed in a noncoherent ASK system to yield the same value of Pe as the coherent system.

Types of high voltage distribution system, Types of High Voltage Distributi...

Types of High Voltage Distribution System A High Voltage Distribution System could be of the subsequent types: - Three phase Extension HT line from the primary substation a

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