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

Emi, applications of heterodyne wave analyzer

applications of heterodyne wave analyzer

What speed would the machine be capable of converting energy, Q. An element...

Q. An elementary two-pole rotating machine with uniform air gap, as shown in Figure, has a stator-winding self-inductance Lss of 50 mH, a rotor-winding self-inductance Lrr of 50 mH

Show common emitter output characteristics, Q. A Silicon Transistor Whose C...

Q. A Silicon Transistor Whose Common Emitter Output Characteristics Are Shown  In Dig Is Used In The Circuit With V cc =22.5v, R c =5.6k, R e =1k, R 2 =10k, And R 1 =90

Development of PLC- controlled crystallization model, 1.Describe the techno...

1.Describe the technological process of crystallization. 2. Compose the requirements to developed crystallization model.stion..

Sinusoidal inverter, i am going to make a sinusoidal inverter as my final y...

i am going to make a sinusoidal inverter as my final year project kindly help me in this regard.How can i make this project?

Calculate the maximum length of an optical fibre, Calculate the maximum len...

Calculate the maximum length of an optical fibre that exhibits 0.8dB/km attenuation if the optical output is 10mW and the power launched at the input is 150mW. [Hint: Loss, L=10 lo

Determine the resonant frequency and bandwidth, (a) For a series RLC resona...

(a) For a series RLC resonant circuit, find an expression for the voltage across the resistance VR and obtain the ratio V R /V S , where V S is the applied voltage. Identify the e

Impurities in semiconductors, Impurities in Semiconductors Can be a...

Impurities in Semiconductors Can be added in accurately controlled amounts. Can modify the electronic and optical properties. Used to change conductivity over wide ra

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