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

Calculate arithmetic mean, a) Get the best linear relationship in accordanc...

a) Get the best linear relationship in accordance with least square analysis for the following data:- X 0.9 2.3 3.3 4.5 5.7 6.7 Y 1.1 1.6 2.6 3.2 4.0 5.0 b) The table belo

Oscillator circuit with the help of block diagram, Q. Explain the condition...

Q. Explain the conditions to be satisfied for sustained oscillations in an oscillator circuit with the help of block diagram. The essential condition for sustained oscillations

About on line teaching, i am Eectrical engineer and i want to teach student...

i am Eectrical engineer and i want to teach students on line mode. let me know the procedure. thanks pushpendra

Zener breakdown voltage, (a) For the Zener diode series voltage regulator s...

(a) For the Zener diode series voltage regulator shown in the Figure. calculate V L , I Z , V R and P Z for R L = 1.2 KΩ and repeat it for R L = 3 KΩ ? Consider Zener breakdow

State value of current flowing in the winding, The winding of an electromag...

The winding of an electromagnet has an inductance of 3H and a resistance of 15?. When it is connected to a 120 V d.c. supply, Determine: (a)  the steady state value of current f

Define sigma-delta analog to digital converters, Define Sigma-Delta Analog ...

Define Sigma-Delta Analog to Digital Converters? Sigma-Delta ADCs have the benefit of being implemented almost totally in the digital domain.  They are extremely reliable, high

Calculate the theoretical mean value for signal, In most real signal proces...

In most real signal processing applications the measured signals can not be described by an analytical expression. In addition, by the Wold decomposition theorem a stationary signa

Write shorte note on carbon, Write shorte note on Carbon. Carbon: The...

Write shorte note on Carbon. Carbon: The rate of commutator wear in electrical machines is greatly decreased by using brushes made of carbon. Carbon (C) is also used in autom

Compare call and push instructions, Compare CALL and PUSH instructions ...

Compare CALL and PUSH instructions CALL PUSH When CALL is implemented the microprocessor automatically stores the 16-bit address of the instruction next to CALL on the sta

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