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

Find the net force experienced by a positive charge, Q. Two charges of equa...

Q. Two charges of equal magnitude 5µC but opposite sign are separated by a distance of 10 m. Find the net force experienced by a positive charge q = 2 µC that is placed midway betw

Commercial losses in electrical systems, Commercial Losses in Electrical Sy...

Commercial Losses in Electrical Systems Commercial losses are caused by pilferage, theft, defective meters, and errors in meter reading and in estimating un-metered supply of

Explain working of cardiac pacemaker, Q. Explain working of Cardiac Pacemak...

Q. Explain working of Cardiac Pacemaker? When blockage occurs to the biological signals that stimulate the heart to beat, the application of electric pacemaker pulses forcing t

Explain working of single-phase induction motors, Q. Explain working of Sin...

Q. Explain working of Single-Phase Induction Motors? For reasons of simplicity and cost, a single-phase power supply is universally preferred for fractional-horsepower motors.

Elementary induction machines, Elementary Induction Machines In the dis...

Elementary Induction Machines In the discussion that followed Equation, the third possiblemethod of producing constant torque was to cause the mmf axes of stator and rotor to r

Operation of a biased clipper and combination clipper, Q What is a clipper?...

Q What is a clipper? Describe the operation of a biased clipper and combination clipper. The circuit with which the waveform is shaped by removing (or clipping) a portion of th

Earthing in electricity and gas hazards, Earthing : Any electrical applian...

Earthing : Any electrical appliance with a metal casing or with metal parts, likely to be touched by an operator is potentially dangerous. The danger is that an internal or extern

Determine the resultant mmf, Q. The N-coil windings of a three-phase, two-p...

Q. The N-coil windings of a three-phase, two-pole machine are supplied with currents ia,ib, and ic, which producemmfs given by F a = Ni a cos θm; F b = Ni b cos(θm - 120°); and

Butterworth filter, what is experimental setup for Butterworth filter?

what is experimental setup for Butterworth filter?

Internal frequency compensation of operational amplifier, Q. Internal Frequ...

Q. Internal Frequency Compensation of operational amplifier? Some op amps, such as the 741, have internal RC networks which are intentionally designed to reduce gain at high fr

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