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

Define short lines, Define Short Lines? For short power lines (up to 50...

Define Short Lines? For short power lines (up to 50 miles; 80 km),  the effects of the shunt capacitance and leakage resistance are negligible. Hence the line may be represente

Compute the total capacitance with parallel connection, Compute the total c...

Compute the total capacitance with parallel connection: Three capacitors C 1 , C 2 and C 3 contain capacitance 20 μf, 15 μf, 30 μf, respectively. compute: 1. Charge on ea

Lc circuits, L=0.0053nH, C=15µF find the operating frequency of series LC c...

L=0.0053nH, C=15µF find the operating frequency of series LC circuit. What factors decides capacitance ..

What is macro, What is macro? A macro is a group of instructions writte...

What is macro? A macro is a group of instructions written within brackets  and recognized  by a name .This is used when a repeated group of instructions is too short or not app

Define the objectives of load flow analysis, Define the Objectives of Load ...

Define the Objectives of Load Flow Analysis The objectives of load flow analysis are: (i) To analyse an existing power system, future expansion or a new power system plan.

Explain the operation of the counter, Q. Figure shows the mod-8 counter whi...

Q. Figure shows the mod-8 counter which counts from 010 to 710 before resetting. Explain the operation of the counter and sketch the timing diagram.

Core functionalities of the gis, Core Functionalities of the GIS: The...

Core Functionalities of the GIS: The GIS should be able to: 1          Create layers from all supported data sources involving coverage feature classes, shape files, compu

Filter implementation, Using the coefficients obtained for the noisy signal...

Using the coefficients obtained for the noisy signal and the FIR filter in Q1(c)(i) implement on the TMS320VC5510DSK. You can use and modify any of the files provided in the Board

Explain ferrimagnetic magnetic materials, Explain Ferrimagnetic magnetic ma...

Explain Ferrimagnetic magnetic materials. Ferrimagnetic Materials: In such materials unequal magnetic dipoles are lined up anti-parallel to each other. And permeabilities are

Electrons and holes, E l e c t r ons and Holes For T> 0 K, t...

E l e c t r ons and Holes For T> 0 K, there would be some electrons in the otherwise empty conduction band, and some empty states in the otherwise filled valence ban

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