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 elementary diode circuits, Q. What is Elementary Diode Circuits? ...

Q. What is Elementary Diode Circuits? Semiconductor diodes are used in a wide variety of applications. Their usage abounds in communication systems (limiters, gates, clippers,

Determine the resistance and temperature-coefficient, Determine the resista...

Determine the resistance and temperature-coefficient: A platinum coil has a resistance of 3.146 Ω at 40 o C and 3.767 Ω at 100 o C. Determine the resistance at 0 o C and the t

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

Calculate the e.m.f. generated in armature of a d.c. machine, The armature ...

The armature of a d.c. machine has a resistance of 0.3 and is connected to a 200V supply. Calculate the e.m.f. generated when it is running (a) as a generator giving 80A (b) as a

Electrical fundamentals, Electrical Fundamentals 1. An aircraft compan...

Electrical Fundamentals 1. An aircraft company has decided to replace the copper cables to the main aircraft generators onboard it's Boeing 747s with aluminium cables that are

Compute the theoretical and practical frequency ranges, Q. For an RG-290/U ...

Q. For an RG-290/U aluminum rectangular wave - guide, a = 58.42 cm and b = 29.21 cm. Compute the theoretical and practical frequency ranges of operation for the guide.

Explain the effect of a dielectric on behaviour of capacitor, Explain the e...

Explain the effect of a dielectric on the behaviour of a capacitor. If two parallel plates are separated by a distance 'd' (meters) in vacuum and are kept at a potential diffe

Determine the antennas radiated power, Q. A transmitter is connected to an ...

Q. A transmitter is connected to an antenna by a transmission line for which ¯ Z 0 = R 0 = 5 0 . The transmitter source impedance is matched to the line, but the antenna is kno

What is the impulse response of this filter, Consider the filter h[n,m] des...

Consider the filter h[n,m] describing the input-output relationship below: g[n,m]=f[n-1,m]+ f[n,m-1]+ f[n+1,m]+ f[n,m+1] a)  What is the impulse response of this filter? b

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