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 is microprocessor, Write short notes of the following. a)    Microproc...

Write short notes of the following. a)    Microprocessor b)    Modes of data transfer. c)    I/O processor d)    Associative memory e)    Software and Hardware interrupt

Dc generator, Why armature core in a DC machine is constructed with laminat...

Why armature core in a DC machine is constructed with laminated steel instead of solid steel sheets

Thevenins theorem, advantages and disadvantages of thevenins theorem

advantages and disadvantages of thevenins theorem

Cmp compare instruction , CMP Compare Instruction This instruction is ...

CMP Compare Instruction This instruction is used to compare the contents  of register  or memory  with accumulator the contents of the operand remain  unaffected. There are tw

Interpret the assembly output of the lc - 3 compilers, Interpret the Assemb...

Interpret the Assembly Output of the LC - 3 Compilers Goals to understand the stack convention of the LC3 compiler: How the stack pointer and frame pointer are managed

Explain virtual memory, Explain virtual memory. The term virtual memor...

Explain virtual memory. The term virtual memory considers as to something that appears to be present but in fact it is not. The virtual memory technique permits users to use m

Fet operation, FET operation: Figure: I-V characteristics and o...

FET operation: Figure: I-V characteristics and output plot of a JFET n-channel transistor. The FET manages the flow of electrons (or electron holes) from the sourc

Explain ramp type dvm, SOL. Ramp Type VM: The operating principle of the r...

SOL. Ramp Type VM: The operating principle of the ramp type DVM is based on the measurement of the time it takes for a linear ramp voltage to rise from 0 V to the level of the inp

Two stage rc coupled amplifier, Q. Two Stage Rc Coupled Amplifier? ...

Q. Two Stage Rc Coupled Amplifier? It is the most popular type of a multistage amplifier because it is cheap and provides excellent audio fidelity over a wide range of fre

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