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

Diode circuits, Diode Circuits: Prob. (a) Draw the piecewise linear v...

Diode Circuits: Prob. (a) Draw the piecewise linear volt ampere characteristic of a p n diode. What are the circuit models for the ON state and the OFF state. (b) Determ

What is polymerised resultant of phenol and formaldehyde, Phenol and Formal...

Phenol and Formaldehyde are polymerised to a resultant product known as (A) PVC.                                  (B) bakelite. (C)  Polyester.                        (D)

Desirable requirements of a generic photo-detector, Question : a) Stat...

Question : a) State six desirable requirements of a generic photo-detector. b) A gallium arsenide pin photo-diode has an intrinsic layer of width 1 μm. The diode is revers

Drawing, #question what are the types of lines used there and their applica...

#question what are the types of lines used there and their application ..

Show the applications of a r-c coupled amplifier, Q. What are the applicati...

Q. What are the applications of a R-C coupled amplifier. The R-C coupled amplifiers have excellent audio fidelity over a wide range of frequency. Therefore, they are widely use

Fixed capacitor, what is the contruction of a fixed capacitor

what is the contruction of a fixed capacitor

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