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

Reverse recovery characteristics, Reverse Recovery Characteristics At t...

Reverse Recovery Characteristics At the end of forward  conduction in diode  reverse current  flows for  a short  time. The  device  doesn't  attain its full blocking  capabili

Induction motor, principle and operation of 3phace induction motor

principle and operation of 3phace induction motor

#title.MIPS assembly language code., Given the INPUT: • An array of 64-bit ...

Given the INPUT: • An array of 64-bit unsigned integer elements stored in the memory starting at a known location SOURCE. • The size of the array (i.e., number of elements) stored

Estimate the length of the wire required to get a resistance, A heater elem...

A heater element is made of nichrome wire having resistivity equal to 100 × 10 -8 ohm-m. The diameter of the wire is 0.4mm. Calculate the length of the wire required to get a resi

Working principle of a d.c. generator, Q.  Explain the working principle o...

Q.  Explain the working principle of a d.c. generator. Explain clearly the function of commutator in d.c. machines. Sol. Working principle of a D.C. generator: For the 2- po

Engines, how to make a underwater propulsion system?

how to make a underwater propulsion system?

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

Determine the stresses set up in the cylinder and steel wire, A copper cyli...

A copper cylinder 40 cm diameter and 10 mm thick is nearly wound with a layer of 4mm diameter steel wire under a tensile stress of 80 Mpa. If the steam under a pressure of 5 Mpa is

Transistor hybrid model, Transistor Hybrid model:- Make Use of h - par...

Transistor Hybrid model:- Make Use of h - parameters to explain a transistor have the following benefits. a)      h - Parameters are real numbers that are up to radio frequ

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

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

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