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

Pre-processing requirements - cpld design project , The pre-processing unit...

The pre-processing unit is responsible for taking the conditioned output from the heart sensor and generating a binary count during time T1 of this waveform (datain). It will compr

8. A road 300 m long is required to be illuminated b, Ask questio8. A road ...

Ask questio8. A road 300 m long is required to be illuminated by providing 40W fluorescent lamps. The width of the road is 4m. Design a street lighting scheme for obtaining minimu

Show npn common emitter amplifier, Q. Show NPN Common Emitter Amplifier? ...

Q. Show NPN Common Emitter Amplifier? The common emitter configuration lends itself to voltage amplification and is the most common configuration for transistor amplifiers.

Military services - application of software defined radio, Military Service...

Military Services - Application of Software Defined Radio With the use of SDR technology, the military can reduce radio development costs by providing a common platform to whi

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

Introduction to electronics, Explain the difference between a microprocesso...

Explain the difference between a microprocessor and an embedded microcontroller

Frequency synthesized signal generator, Q. what is frequency synthesized si...

Q. what is frequency synthesized signal generator? Describe its circuit in detail. OR Give the circuit details of frequency synthesizer also explain its working. OR

What do you mean by phase sequence, Q. What do you mean by Phase Sequence? ...

Q. What do you mean by Phase Sequence? It is standard practice in the United States to designate the phase A-B-C such that under balanced conditions the voltage and current in

Crm framework, CRM Framework There exist several ways to view CRM fram...

CRM Framework There exist several ways to view CRM framework. Therefore, an operational strategic framework is more relevant to apply CRM in power/electricity business systems

Emf, State and explain three factors upon which the induced electromotive f...

State and explain three factors upon which the induced electromotive force depends

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