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

Investor demand registration rights, You have been hired by Serge Brink and...

You have been hired by Serge Brink and Larry Park to assist them in the evaluation of a recently issued term sheet from Global VC Partners. The new venture is an Internet startu

Competition, how to be prepare for gate....

how to be prepare for gate....

Basic specifications of a ujt, The very basic specifications of a UJT are: ...

The very basic specifications of a UJT are: Vbb(max) - The maximum interbase voltage that can be applied to the UJT (b) Rbb-the interbase resistance of the UJT (c) n - The

Repeatability , Reproducibility and repeatability are measures of closeness...

Reproducibility and repeatability are measures of closeness with which a given input may be measured over again. The two terms cause confusion. Therefore, a distinction is made bet

Matlab, how to model a doubly fed induction generator inside simulink?

how to model a doubly fed induction generator inside simulink?

Principle of transistor phase shift oscillator, Q. Explain the principle of...

Q. Explain the principle of transistor phase shift oscillator? The phase shift oscillator consists of an inverting amplifier stage coupled to a three stage RC filter network. T

Determine the total energy ?owing into the component, Q. The voltage at ter...

Q. The voltage at terminal a relative to terminal b of an electric component is v(t) = 20 cos 120πt V. A current i(t) =-4 sin 120πt A ?ows into terminal a. From time t 1 to t 2 ,

Value of current if resistance connected to the battery, One battery having...

One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

Explain about subscriber loops signalling, Q. Explain about Subscriber loop...

Q. Explain about Subscriber loops signalling? In a telephone network, subscriber loop signal linger lies upon the kind of a telephone instrument used. The intra exchange signal

Design the low-pass filter, Q. Design the low-pass filter shown in Figure (...

Q. Design the low-pass filter shown in Figure (by determining L) to have a half-power frequency of 10 kHz.

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