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

Basic requirement of semiconductor laser, What is basic requirement of semi...

What is basic requirement of semiconductor laser? Draw its label diagram and explain its working with necessary theory. Write down the applications of semiconductor laser.

Regenerative braking control - motor control , Regenerative Braking Control...

Regenerative Braking Control In this  methods  motor  behaves like a  generator  and the kinetic energy of the  motor  and connected load is  returned to the supply. If means

Sketch the output waveform for the synchronous counter, Q. Consider a serie...

Q. Consider a series-carry synchronous counter with T flip-flops shown in Figure in which the AND gates carry forward the transitions of the flip-flops, thereby improving the speed

Society in engineering, Cite a specific example in which the engineer must ...

Cite a specific example in which the engineer must provide maximum efficiency for a given cost

Controls and system, transfer function of Lube Oil Cooler Temperature

transfer function of Lube Oil Cooler Temperature

List out the five categories of the 8085 instructions, List out the five ca...

List out the five categories of the 8085 instructions. Give examples of the instructions for each group. 1.  Data transfer group - MOV, MVI, LXI. 2.  Arithmetic group - ADD,

Find the resistor values of rc, Apply the rule-of-thumb dc design presented...

Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s

Voltage regulator, Voltage regulator: A voltage regulator is an electr...

Voltage regulator: A voltage regulator is an electrical regulator intended to automatically keep a constant voltage level. A voltage regulator is an instance of a negative fee

Digital ttl circuit, Execution of Digital Logic Circuits A safety circ...

Execution of Digital Logic Circuits A safety circuit is employed on a lathe to prevent the motor turning if it is not safe to operate. A series of 2 switches are used to check

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