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

Configured the dual processor architecture, Configured dual processor archi...

Configured dual processor architecture  In centralized SPC, dual processor architecture can be configured to operate in following one of three modes: 1.  Standby mode: In

Features hindering developing countries from growing faster, Q. Describe so...

Q. Describe some of the features hindering developing countries from growing faster. Answer: One of the features that are able to be hold developing countries from growing fas

What is the use of terminal count register, What is the use of terminal cou...

What is the use of terminal count register? Each of the four DMA channels of 8257 has single terminal count register. This 16-bit register is used for ascertaining that the dat

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

Explain working of bipolar junction transistors, Q. Explain working of Bipo...

Q. Explain working of Bipolar junction transistors? The family of bipolar junction transistors has two members: the npn BJT and the pnp BJT. Both types contain semiconductor ju

Explain shockly''s equation and its significance, Q. Explain shockly's equa...

Q. Explain shockly's equation and its significance in plotting the transfer characteristics ? The linear relationship does not exists in the output of the JFET, the relationshi

Inductive coupling, advantages and disadvantages of inductive coupling

advantages and disadvantages of inductive coupling

Electronics, why inductive load is use in electronics circuit?

why inductive load is use in electronics circuit?

Electrical engineering, 4. Modify the circuit designed for question 3 to pr...

4. Modify the circuit designed for question 3 to provide an emergency stop which will park both cylinders in the extended position (i.e. A + B +). 5. Modify the circuit designed fo

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