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

Automatic irrigation system on running solar power b, how to upload the pro...

how to upload the program on proteus software by using personal computer

Sources of power dissipation in cmos logic, Describe the three main sources...

Describe the three main sources of power dissipation in CMOS logic. Hence calculate the power dissipated in a CMOS ASIC of 40,000 gates operating at a frequency of 133MHz with a s

Differences between enhancement and depletion mosfet, Q. What Are the Diffe...

Q. What Are the Differences Between Enhancement And Depletion Mosfet? Depletion MOSFET:Here a slab of p_type material is formed from a silicon base and referred to as substrate

Blind equalization using constant modulus approach, please i need to prepar...

please i need to prepare thesis proposal based on the title above. analysis of recently exixting algorithm and propose an improved one. UGENTLY!!

PLC Programming, FIG. 2 Car Park Simulation Consider the above diagram, FI...

FIG. 2 Car Park Simulation Consider the above diagram, FIGURE 2, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in

Working design with realistic models, A preliminary design with ideal resis...

A preliminary design with ideal resistors, inductors and capacitors, will get 25 marks. If the design does not meet the specifications then one mark will be deducted following the

What is direct memory access, What is Direct memory access? Direct memo...

What is Direct memory access? Direct memory access (DMA) is a process wherein an external device takes over the control of system bus by the CPU.DMA is for high-speed data tran

Show the use of hexadecimal, Hexadecimal is of use in IT because (1) It...

Hexadecimal is of use in IT because (1) It is a compact system (e.g. only 3 digits represent the number 986) (2) As 16 are a power of 2 it turns out to be quite easy to conv

DLD, DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC ...

DESIGN SR LATCH WITH UNIVARSAL LOGIC GATES.DRAW AND EXPLAIN THE LOGIC DIAGRAMS

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