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

Estimate the required bandwidth using Carson''s rule, A 10-kHz tone is used...

A 10-kHz tone is used to frequency modulate a carrier; the peak deviation is 75 kHz. Use Carson''s rule to estimate the bandwidth.

Write discussion on Construction and working of analog type, Write discussi...

Write discussion on Construction and working of analog type storage oscilloscope

Obtain the sop expression, Q. Given the K map of a logic function as shown ...

Q. Given the K map of a logic function as shown in Figure, in which ds denote don't-care conditions, obtain the SOP expression.

Perform octal subtraction, Q. Do as directed. a) Hexadecimal addition: ...

Q. Do as directed. a) Hexadecimal addition: 101 + ABC b) (43.25) 10-(89.75) 10 using 1's Complement c) Octal Subtraction 123-777 d) (123)6 + (435)6 = ( ? )6 e) ABC

Evaluate the current flowing in the direction from b to a, Q. A beam contai...

Q. A beam containing two types of charged particles is moving from A to B. Particles of type I with charge +3q, and those of type II with charge -2q (where -q is the charge of an e

Dc machines, what is working of dc machines?

what is working of dc machines?

Why fet is a voltage sensitive device, Q. Why FET is a voltage sensitive de...

Q. Why FET is a voltage sensitive device explain from the drain characteristics? The JFET consists of a thin layer of n-type material with two ohmic contacts,the source S and t

Antenna fundamentals, Antenna Fundamentals We shall discuss here only t...

Antenna Fundamentals We shall discuss here only the fundamental concepts needed to understand the role of an antenna as a power-coupling element of a system. Figure illustrates

Sketch the inductor voltage and stored energy, (a) Consider a 5-µH inductor...

(a) Consider a 5-µH inductor to which a current source i(t) is attached, as shown in Figure (b). Sketch the inductor voltage and stored energy as a function of time. (b) Let a v

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