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

Half wave rectifier connected to a dc motor, Ask questiwe have half wave re...

Ask questiwe have half wave rectifier connected to a dc motor load. by using a step down transformer from 8 to 1. by modalization we have the Primary Winding resistance is Rp=50 oh

Fourier deries, how to compute the fourier series expansion of a rectangula...

how to compute the fourier series expansion of a rectangular pulse train

Convolution, how to use tabular method to solve convolution problems

how to use tabular method to solve convolution problems

Npn bipolar junction transistor, NPN: Figure: The symbol of an ...

NPN: Figure: The symbol of an NPN Bipolar Junction Transistor. NPN is one of the two sorts of bipolar transistors, where the letters "N" (negative) and "P" (positi

Compare the merits and demerits of analog voltmeters, Question : (a)(1)...

Question : (a)(1) Show different types of voltmeters commonly used. (2) A basic d'Arsonval meter movement with an internal resistance Rm = 100 ?,and a full scale current of

Determine average of integers by assembly language program, Write an assemb...

Write an assembly language program to determine average of 'n' integers. Ans  MOV AX, 0000; Initial sum 0000  MOV BX, 0000  MOV SI, 0201H  MOV CX, [SI]  BACK: I

3-phase 120 degree mode vsi , 3-phase  120 0 Mode VSI In 1200 mode ...

3-phase  120 0 Mode VSI In 1200 mode VSI each thyristor  conducts for 1200. At a  time only  thyristor  one form  upper  group  and another  form group will conduct.  Only th

Find the force-current analog as well as the force voltage, Q. (a) The c...

Q. (a) The concept of duality can be extended to nonelectric physical systems bymeans of analogs. For example, the mechanical system characteristics can be investigated by means

Find magnitude and direction developed torque, Q. The self and mutual induc...

Q. The self and mutual inductances of a machine with two windings are given by L 11 = (1 +sin θ), L 22 = 2(1 + sin θ), and L 12 = L 21 = M = (1-sin θ). Assuming θ = 45°, and le

Calculate the diameter of the core, A step index multi mode fibre along wit...

A step index multi mode fibre along with numerical aperture of 0.2 supports approximately 1000 modes at an 850µm wavelength. Calculate a) What is the diameter of the core? b)

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