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

Give the applications of pvc, Give the applications of PVC. PVC- It is...

Give the applications of PVC. PVC- It is acquired from polymerisation of hydrogen chloride and acetylene in the presence of a catalyst as peroxides at about 50 0 C. It is e

Define magnetic field, Define Magnetic field The area around a magnet i...

Define Magnetic field The area around a magnet is known as the magnetic field and it is in this area that the effects of the magnetic force formed by the magnet can be detected

Signals and system, how can i calculate that is following signal is periodi...

how can i calculate that is following signal is periodic or not? X[n]= ?_(k=-8)^8¦?{d[n-4k]-d[n-1]-4k]}?

Explain dual slope adcs, Explain Dual Slope ADCs Dual slope ADCs make u...

Explain Dual Slope ADCs Dual slope ADCs make use of a capacitor connected to a reference voltage. The capacitor voltage begins at zero and is charged for a set time through the

Circuit, i need to talk to expert asap.

i need to talk to expert asap.

Expression for the force exerted on the iron plunger, Solenoids find applic...

Solenoids find application in a variety of electrically controlled valves. The magnetic structure shown in Figure is a simplified representation of a solenoid in which the flux in

Calculate the induced voltage at full load, A 100-kW, 230-V shunt generator...

A 100-kW, 230-V shunt generator has R a = 0.05  and R f = 57.5 . If the generator operates at rated voltage, calculate the induced voltage at (a) full load, and (b) one-half fu

What is a microcomputer, What is a microcomputer? A computer that is de...

What is a microcomputer? A computer that is designed using a microprocessor as its CPU is known as microcomputer

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