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

Feedback amplifier, #I want to get lecture notes on Electronic device.and c...

#I want to get lecture notes on Electronic device.and circuits .

Averaged power dissipated in the load, (a) Consider the following transmiss...

(a) Consider the following transmission line with the reactance X1 placed across the input. It is being driven with a frequency ω such that the length of the line is λ/4. What v

Determine required output power, Q. Two stations (using identical antennas,...

Q. Two stations (using identical antennas, with diameters of 50λ and aperture ef?ciencies of 0.6 at 35 GHz) are separated by 30 km. With negligible antenna losses, antenna connecti

Transformer, Why we provide the short circuit and open circuit test in tran...

Why we provide the short circuit and open circuit test in transformer

What is meant by regulation, Q. What is meant by regulation? The output...

Q. What is meant by regulation? The output of most power supplies should be a constant voltage. Unfortunately, this is difficult to achieve. There are two factors that can caus

Determine the cost of energy used in a system, The energy consumption for a...

The energy consumption for a small factory is given at the end of the brief. a) Three commercial tariffs from an energy supplier are shown below. Using these (or other commercia

Compare the percent error of both meters, Q. Error speci?cations on a 10-A ...

Q. Error speci?cations on a 10-A digital ammeter are given as 0.07% of the reading, 0.05% of full scale, 0.005% of the reading per degree Celsius, and 0.002% of full scale per degr

What is the load resistance in ohms, Q. A 5-MVA, 66:13.2 kV, three-phase tr...

Q. A 5-MVA, 66:13.2 kV, three-phase transformer supplies a three-phase resistive load of 4500 kW at 13.2 kV. What is the load resistance in ohms as measured fromline to neutral on

Armature winding, draw a developed single simplex wave winding havig 17 num...

draw a developed single simplex wave winding havig 17 number of coils and 4 number of poles

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