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

Cma complement accumulator instruction, CMA Complement Accumulator  Instru...

CMA Complement Accumulator  Instruction Complement the  contents of the accumulator  i e the   accumulator  al once are converted zeros  and all zeros  are converted to  ones.

Role of central and state governments, Role of Central and State Government...

Role of Central and State Governments The subsequent roles of Central and State Governments are envisaged in the Act: The Central Government will Notify rules

Define shunt var compensation, Define Shunt VAr Compensation? Shunt cap...

Define Shunt VAr Compensation? Shunt capacitors absorb leading VArs (i.e. they are used to supply lagging VArs) whereas reactors are used to absorbs lagging VArs. Capacitors an

Cipper, when i/p voltg is grater than battery diode is clse or open

when i/p voltg is grater than battery diode is clse or open

Explain the signals hold and sid, Explain the signals HOLD, READY and SID ...

Explain the signals HOLD, READY and SID HOLD indicates that a peripheral such as DMA controller is requesting the use of address bus, data bus and control bus. READY is used to

Connection of shunt capacitors at 11 kv substation, Connection of Shunt Cap...

Connection of Shunt Capacitors at 11 kV Substations 11 kV automatic switched capacitor banks are installed on bus of 33 or 66 kV substations. This has the facility that the re

What are the currents in the high-voltage, Q. A transformer is rated 10 kVA...

Q. A transformer is rated 10 kVA, 220:110 V (rms). Consider it an ideal transformer. (a) Compute the turns ratio and the winding current ratings. (b) If a 2-load resistance

Mention some characteristics of transistors, Q. Mention some characteristic...

Q. Mention some characteristics of transistors? · When a NPN transistor is working, there is always a constant 0.6 volt drop between the base and emitter, i.e., the base is alw

Network analysis, what are the advantages and disadvantages of Thevenin the...

what are the advantages and disadvantages of Thevenin theorm over Norton theorem

Determine the shaft power output, Determine the shaft power output: A ...

Determine the shaft power output: A 6-pole, 50 Hz, 3-phase induction motor running on full load develops a useful torque of 180 Nm when the rotor emf frequency is 2 Hz. Determ

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