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

Calculate the power dissipated in r and in the diode, Q. Consider the circu...

Q. Consider the circuit of Figure with V S = 94 V, V Z = 12 V, R = 820 , R L = 220 , R S = 0, and R Z = 25 . Assume the reverse saturation current of the zener diode to be

Basic structure of an scr and the common circuit symbol, Q. Draw the basic ...

Q. Draw the basic structure of an SCR and the common circuit symbol ? The SILICON CONTROLLED RECTIFIER, usually referred to as an SCR, is one of the families of semiconductors

Explain the category of ceramics, Ceramics are good (A)  Insulators. ...

Ceramics are good (A)  Insulators.                 (B) Conductors. (C)  Superconductors.      (D) Semiconductors. Ans: Ceramics are good insulators.

Feedback amplifier, Draw and explain the circuit of feedback amplifier

Draw and explain the circuit of feedback amplifier

Microprocessor development system, Write explanatory notes on  Microprocess...

Write explanatory notes on  Microprocessor development system. Microprocessor development system : Computer systems have undergone several changes recently. Machines which

Determine the voltages, Question: a) For the circuit shown in figure ...

Question: a) For the circuit shown in figure (i) Determine the voltages across R1 and R2 and (ii) Determine the current which flows across R1 and R2. Both D1 and D2 a

Determine the signal at the receiver output, Q. An FM station's modulator h...

Q. An FM station's modulator has a sensitivity k FM = 5π × 10 4 rad/s·V. A receiver uses a discriminator that has a gain constant of 10 -5 /π V·s/rad. Neglecting noise, determin

Applications of holography, Applications of holography 1.       Hologra...

Applications of holography 1.       Holography is used in the non-destructive tests by interferometic methods. In this method called double exposure holographic interferometry,

Advantages of an rc coupling over a direct coupling, Q. What are the advant...

Q. What are the advantages of an RC coupling over a direct coupling? Draw a basic Rc coupling network and explain. Figure -RC-coupled transistor amplifier The network

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