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

Customer indexing scheme, Customer Indexing Scheme: Customer indexing ...

Customer Indexing Scheme: Customer indexing and asset codification system provides a platform to enable the utilities to generate verifiable and validated data of consumers an

Determine the inductor current, Q. In a GLC parallel circuit excited by a c...

Q. In a GLC parallel circuit excited by a current source i(t), for G = 0.5S, L = 3H, and C = 0.5 F, determine i(t) if the inductor current iL(t) = 12e -0.5t .

Instrument, Differentiate between dual beam and dual trace oscilloscope

Differentiate between dual beam and dual trace oscilloscope

Thevenins theorem, How to solve questions on thevenin theorem

How to solve questions on thevenin theorem

Evaluate reference voltage, Q. Consider the 4-bit R-2R ladder D/A converter...

Q. Consider the 4-bit R-2R ladder D/A converter with V ref =-10 V. Determine the analog output voltage when the binary input code is 1100. Also, find what reference voltage is to

Explain explanatory notes on a/d conversion, Explain explanatory notes on A...

Explain explanatory notes on A/D conversion. The digital inventory is working a revolution into the field of microcontrollers, technology and microprocessors are used more effi

What is peripheral component interconnect, What is a PCI bus? Periphera...

What is a PCI bus? Peripheral Component Interconnect: PCI bus was developed through Intel and introduced in 1993. This is geared specifically to fifth- and sixth-generation sys

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