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

Find the per-phase impedance of the load, Q. The two-wattmeter method for m...

Q. The two-wattmeter method for measuring three-phase power is applied on a balanced wye-connected load, and the readings are given by W C = 836W and W A = 224 W If the system

Microprocessor system, A burglar alarm system is controlled by a microproce...

A burglar alarm system is controlled by a microprocessor system. The system has three independent circuit each consisting of 7 passive infra red sensors. The controller can be prog

What is the working of sensor in robotics, (a) What is the working of senso...

(a) What is the working of sensor in Robotics ? (b) Define the following : (i) Proximity Sensor (ii) Tactile Sensors (iii) Optical Sensor. (c) What is an End Effecto

Explain working of encoders, Explain working of Encoders? Encoding is t...

Explain working of Encoders? Encoding is the process of forming an encoded representation of a set of inputs, and it is the converse of the decoding operation. An encoder is a

What are wired and wireless transmission systems, What are wired and wirele...

What are wired and wireless transmission systems?  Transmission Systems: Modern long distance transmission systems can be placed under three main categories: 1.  Radio Sy

Purpose of compensation and space charge neutrality, My question about abov...

My question about above topic is"what is the use of the of this process" why we do compensation and space charge carrier

Analog, why h parameter used in low frequency transistor amplitfier

why h parameter used in low frequency transistor amplitfier

Which matels alloy make bronze, Bronze is an alloy of (A) Copper and T...

Bronze is an alloy of (A) Copper and Tin.               (B) Copper and Steel. (C) Copper and Mercury.      (D) Copper and Aluminium. Ans: Bronze is an alloy of Cop

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