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

Power diode - power semiconductor devices , Power Diode A power diode i...

Power Diode A power diode is a two terminal, anode a and cathode K and  two layer P  and  N  junction devices. A PN  junction normally  formed  by allowing  diffusion and epita

What is effect of overheating on an electric insulator, What is the effect ...

What is the effect of overheating on the life of an electric insulator? An insulator is designed to withstand amount of heat. However, when an insulator is overheated so dielec

Shunt reactor, what are the basic principles of shunt reactor and it''s ope...

what are the basic principles of shunt reactor and it''s operation system

What do you mean by induction, Q. What do you mean by Induction? The es...

Q. What do you mean by Induction? The essentials for producing an emf bymagneticmeans are electric andmagnetic circuits,mutually interlinked. Figure (a) shows a load (or sink o

Strategy and customer relationship management, Strategy and Customer Relati...

Strategy and Customer Relationship Management CRM sometimes considers as only information technology because of availability of quite a good number of software packages in the

Define hrq, Define HRQ? The hold demand output requests the access of t...

Define HRQ? The hold demand output requests the access of the system bus. In non- cascaded 8257 systems, this is linked with HOLD pin of CPU. In cascade mode, this pin of a sla

Determine the minimum needed frequency range, The operating frequency range...

The operating frequency range of a superheterodyne FMreceiver is 88-108MHz. The IF and LO frequencies are so chosen that f IF LO .Ifthe image frequency f  c must fall outside of

Choose compensating components for the circuit, Q. Figure gives the frequen...

Q. Figure gives the frequency-response graphs for a 709 op amp. Choose compensating components for the circuit to have a gain of 100 and a frequency response of up to 100 kHz.

Gis applications in management of power distribution systems, GIS Applicati...

GIS Applications in Management of Power Distribution Systems: a.)        Inventory of existing network. b.)        Easy access to network details. c.)        Easy access

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