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

Induced emf, applications of dynamically induced emf

applications of dynamically induced emf

Electronic Devices, To demonstrate a practical method of testing semiconduc...

To demonstrate a practical method of testing semiconductor diodes.

Which are the three basic configurations of fet amplifier, Q. Which are the...

Q. Which are the three basic configurations of FET amplifiers? The three basic configurations of FET amplifiers are · Common source(CS)- It is most frequently used as it pro

Discuss stepper motor interfaced to the 82c55, Discuss Stepper motor interf...

Discuss Stepper motor interfaced to the 82C55. A stepper motor rotates into steps in response to digital pulse input. There shaft of the motor rotates in equivalent increments

What do you mean by continuous signals, Q. What do you mean by Continuous s...

Q. What do you mean by Continuous signals? Continuous signals are described by time functionswhich are defined for all values of t (a continuous variable). Commercial broadcast

Determine the remaining voltages and currents, Q. Some element voltages and...

Q. Some element voltages and currents are given in the network configuration of Figure. Determine the remaining voltages and currents. Also calculate the power delivered to each el

What is the importance of rs232-c in serial communication, What is the impo...

What is the importance of RS232-C in serial communication? RS-232 that is Recommend Standard number 232 and C is the new revision of the standard. The serial ports on main comp

Explain in brief about the robots, Explain In brief about the Robots - ...

Explain In brief about the Robots - Robot is programmed with a series of instructions that enable it to carry out a series of tasks - On the other hand, an operator manually

Solar energy, can i use the direct solar energy from solar plate to charge ...

can i use the direct solar energy from solar plate to charge my laptop without a battery

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