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

Show equivalent circuit of a synchronous machine, Equivalent Circuit of a S...

Equivalent Circuit of a Synchronous Machine A review of the material about elementary synchronous machines is very helpful at this stage to recall the principles of operation f

14. What is a vector impedance meter? State its application., What is a vec...

What is a vector impedance meter? State its application.

Digital electronics, Digital Electronics: We have study the fundamenta...

Digital Electronics: We have study the fundamentals of Digital circuits. Primary we have studied the mathematics of Binary numbers also called as Boolean algebra and how to im

Calculate the analog output voltag, For the 3-bit 2 n -R D/A converter of ...

For the 3-bit 2 n -R D/A converter of Figure, calculate the analog output voltage when the input is (a) 100, and (b) 010. Solution a. For the binary input 100, switches con

Static or electronic energy meters, Static or Electronic Energy Meters ...

Static or Electronic Energy Meters Electronic energy meters are replacing traditional electromechanical meters in several residential, commercial and industrial applications s

Forward bias, Forward bias In forward bias, the p-type is linked with...

Forward bias In forward bias, the p-type is linked with the positive terminal and the n-type is linked with the negative terminal.In forward bias mode the PN junction operati

Transformer-coupled amplifiers, Q. Transformer-coupled Amplifiers? Tra...

Q. Transformer-coupled Amplifiers? Transformer-coupled Amplifiers: The figure illustrates another type of coupling often used to couple audio frequencies - the untuned transf

Determine the transfer functions, The Ward-Leonard system, which is used in...

The Ward-Leonard system, which is used in the control of large dc motors employed in rolling mills, is a highly flexible arrangement for effecting position and speed control of a s

#title thyristor, what is finger voltage in terms of thyristor

what is finger voltage in terms of thyristor

Induction motor, This is a synchronous motor that does not require a specia...

This is a synchronous motor that does not require a special start-up auxiliary motor. The  rotor  consists  of  stout  copper  (or aluminium)  conductors  arranged  in  the form of

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