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

Explain shockly''s equation and its significance, Q. Explain shockly's equa...

Q. Explain shockly's equation and its significance in plotting the transfer characteristics ? The linear relationship does not exists in the output of the JFET, the relationshi

Explain the suitability of copper, Explain  the  suitability  of  coppe...

Explain  the  suitability  of  copper that  is  used  as  electrical  conducting materials. Copper : Pure annealed is utilized for the winding of electrical machines. High pur

Obtain expressions for the open-loop voltage gain, Q. Consider the op-amp c...

Q. Consider the op-amp circuit shown in Figure and obtain expressions for the open-loop voltage gain at (a) low and (b) high frequencies. Also determine relations for the 3-dB poin

Voltage quadrupler, Voltage Quadrupler : A voltage quadrupler circuit is s...

Voltage Quadrupler : A voltage quadrupler circuit is shown in fig. which provides output voltage V0 = 4 Vm. Operation : Capacitor C 1 , C 2 and C 3 charges to Vm, 2Vm and 2Vm

Why common collector amplifier is known aa emitter follower, Q. Why a commo...

Q. Why a common collector amplifier is called an emitter follower?         When the input voltage goes through its positive half cycle, the output voltage is also seen to go th

How do you find the insulation resistance of transformer, Q. How do you cal...

Q. How do you calculate the insulation resistance of transformer and what is the minimum value? Ans. The insulation resistance of the transformer will be calculated by using

Extended industry standard architecture, How is EISA bus different from ISA...

How is EISA bus different from ISA bus? The Extended Industry Standard Architecture (EISA): it is a 32 bit modification to the ISA bus. Since computers became larger and had wi

Explain the discovery of neutron. mention its properties, Explain the disco...

Explain the discovery of neutron. Mention its properties. Discovery of Neutron: The existence of neutron was first predicted by Rutherford in the year 1920. But it was discov

Critical rate of rise of voltage - thyristor , Critical Rate of Rise of Vol...

Critical Rate of Rise of Voltage It  depends on  the junction temperature higher  the junction  temperature lower  the critical rate of  rise of  voltage. It is also known  as

Complex programmable logic device, The small electronics consultancy compan...

The small electronics consultancy company that you work for has been commissioned to design a portable mixed signal heart rate monitor unit for the National Health Service. You hav

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