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 capacitance, What is Capacitance -  Capacitance is explained to...

What is Capacitance -  Capacitance is explained to be the amount of charge Q stored in among the two plates for a potential difference or voltage V existing across the plates.

Describe small signal fet and its characteristics, Q. Describe small signal...

Q. Describe small signal FET.What are its characteristics? Small signal FET is the FETs used for amplification. The linear characteristic of FET is used for this purpose The in

Binary to octal conversion, Binary  to Octal Conversion To convert a b...

Binary  to Octal Conversion To convert a binary  number into octal  divide the number into  group  of three  bits each  starting from the least significant bit. Then put equiva

Explain the synchronous compensators, Explain the Synchronous Compensators ...

Explain the Synchronous Compensators These are synchronous motors running without mechanical loads (or with load if required). Similar to the synchronous generators, they can a

Terminal of a battery having 10 cells connected in series, An external resi...

An external resistance of 10 Ω is linked to the terminal of a battery having 10 cells connected in series. Emf for every cells and internal resistance  is 1.5V and 0.2Ω . Find the

Find the new synchronous speed, Q. A wye-connected, three-phase, 50-Hz, six...

Q. A wye-connected, three-phase, 50-Hz, six-pole synchronous alternator develops a voltage of 1000 V rms between the lines when the rotor dc field current is 3A. If this alternator

What is a clipper circuit, Q. What is a clipper circuit? Clipping circu...

Q. What is a clipper circuit? Clipping circuits are linear wave shaping circuits. The main function of 'clipper' is that it clips off a part of input waveform i.e., it cut off

Determine the air-gap flux density, Q. A four-pole dc generator is lap woun...

Q. A four-pole dc generator is lap wound with 326 armature conductors. It runs at 650 r/min on full load, with an induced voltage of 252 V. If the bore of themachine is 42 cmin dia

Clipper and clamper circuit, Clipper Circuits: Clipper circuit have ab...

Clipper Circuits: Clipper circuit have ability to Clipper of portions of the input signals without distorting the remaining part of the alternating wave form. Clamper net

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