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

Bivector meter, Bivector Meter As it is clear from the name provided '...

Bivector Meter As it is clear from the name provided 'Bivector', it records kWh and kVAh consumption along with maximum demand on both or on any one as needed. The working pri

Ohmic region operation, Q. In a depletion MOSFET for which V P = 3 V and I...

Q. In a depletion MOSFET for which V P = 3 V and I DSS = 11mA, the drain current is 3mA when v DS is set at the largest value that will maintain ohmic region operation. Find v G

Three-phase Portable Bench Power Supply, hi can you help me to create a dc...

hi can you help me to create a dc to 3 phase ac circuit which can exceed at any point: 50V and 20A and 400W maximum. The output should be variable from about 0 – 25V per phase, wi

Form factor, Significance of form factor,why we decide the power handing ca...

Significance of form factor,why we decide the power handing capacity in transmission with the help of form factor?

Why depletion mosfet is known as normally-on mosfet, Q. Why depletion MOSFE...

Q. Why depletion MOSFET is known as "normally-on MOSFET" ? Draw the symbol of n-type and p-type depletion MOSFET. In depletion type MOSFET the drain current flows even when VGS

Calculate the value of resistor, Calculate the value of resistor: 1.  ...

Calculate the value of resistor: 1.  What are the significant differences in the way ammeters and voltmeters are connected. If an ammeter reads 2.5 A for a period of 4 minutes

Find the total line current flowing through feeder, Q. Athree-phase, 60-Hz ...

Q. Athree-phase, 60-Hz substation bus supplies two wye-connected loads that are connected in parallel through a three-phase feeder that has a per phase impedance of 0.5 + j2 . Loa

Equivalent circuit of a dc machine, Equivalent Circuit of a DC Machine ...

Equivalent Circuit of a DC Machine A review of the material presented with regard to elementary direct-current machines can be helpful at this stage to recall the principles of

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