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 applications of jfet, Q. What are the applications of JFET? ...

Q. What are the applications of JFET? · FET is used as a buffer in measuring instruments, receivers since it has high input impedance and low output impedance. · FET's are u

Role of central and state governments, Role of Central and State Government...

Role of Central and State Governments The subsequent roles of Central and State Governments are envisaged in the Act: The Central Government will Notify rules

Amplifier, Amplifier Usually, an amplifier or simply amp, is any devic...

Amplifier Usually, an amplifier or simply amp, is any device which changes, generally increases, the amplitude of a signal. The connection of the input to the output of an amp

Low voltage at transformers, Low Voltage at Transformers While the vo...

Low Voltage at Transformers While the voltage applied to induction motor varies from the rated voltage, its performance is affected. Against permissible voltage variation of

Demodulation of ssb signals, Demodulation of SSB signals also requires the ...

Demodulation of SSB signals also requires the use of a phase-coherent reference. Figure shows the general configuration to demodulate the SSBsignal.Asmall carrier component, which

Spread time - power semiconductor devices , Spread Time (t s ) During  ...

Spread Time (t s ) During  spread time anode  voltage  falls from 10% I a  to the  on state  voltage  drop  and anode  current  rises  from 90% I a   to final  value  of anode

Explain about floating point numbers, Q. Explain about Floating Point Numbe...

Q. Explain about Floating Point Numbers? The IEEE Standard 754 floating point is the most common representation today for real numbers on computers. There are numerous ways

Determine the response of a series r-c circuit, Determine the response of a...

Determine the response of a series R-C circuit to a SQUARE wave. Explain how the time constant affects the waveform observed across the components. Illustrate your answer by means

What are the functional types used in control words of 8251a, What are the ...

What are the functional types used in control words of 8251a? The control words of 8251A are divided into two functional types. 1. Mode Instruction control word 2. Comman

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