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

Electrical, do you have a place where I can draw the equation out ?

do you have a place where I can draw the equation out ?

Explain dielectric constant, Explain Dielectric constant. Dielectric co...

Explain Dielectric constant. Dielectric constant: This is also termed as 'Permittivity'. All insulating material possesses an electrical capacitance. Such capacitance of unit d

Find differential equation & state-space representation, 1. For the followi...

1. For the following network: a. Find the differential equation assuming that v ( t ) is the input and the charge on the capacitor q ( t ) is the output. Hints: i R1= ( i R2

Differential amplifier, Ask question #Minimum 100 words What is neeed of d...

Ask question #Minimum 100 words What is neeed of differential amplifier

Ready input - externally initiated signals , READY Input Microprocess...

READY Input Microprocessor  has to communicate with other  peripherals which  are slow  as compared to the microprocessor. READY  signals  is used to synchronies  these periphe

Cro, what is cro ?

what is cro ?

Write notes on clamping, Q. Write notes on clamping ? Clamping network ...

Q. Write notes on clamping ? Clamping network shifts (clamps) a signal to a different d.c level, that is it introduces a d.c. level to an a.c signal. Hence, the clamping networ

Classify the different types of insulating materials, Classify the differen...

Classify the different types of insulating materials with reference to their limiting safe temperatures for use. On the basis of insulating materials and their limiting safe te

Magnetic permeability and the definition of the amp, The ampere has been de...

The ampere has been defined (by the International Committee of Weights and Measures in 1946) as the current flowing in two long parallel wires 1 metre apart that produces a force o

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