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

Show how a 16-to-1 multiplexer implement the logic function, Q. Show how a ...

Q. Show how a 16-to-1 multiplexer can be used to implement the logic function described by the following truth table.

Determine the rated stator current, A three-phase, wye-connected, 2300-V, f...

A three-phase, wye-connected, 2300-V, four pole, 1000-kVA, 60-Hz synchronous machine has a synchronous reactanceXs = 5, a field resistance Rf = 10, and an approximately linear ma

Find transmission bandwidth required of telemetry system, Find the transmis...

Find the transmission bandwidth required of a data telemetry system that is to handle three different signals with bandwidths W 1 = 1 kHz, W 2 = 2 kHz, and W 3 = 3 kHz, by emplo

Indirect addressing , Indirect Addressing In this  addressing  mo e al...

Indirect Addressing In this  addressing  mo e also ne  of the  operands is the  stored in the memory. The memory  address of the  operand  is specified  by the  register pair.

Junctions and diodes, An intrinsic semiconductor at room temperature has fr...

An intrinsic semiconductor at room temperature has free electrons

Explain temperature dependency in semiconductors, Explain temperature depen...

Explain temperature dependence of electrical resistivity and conductivity in semiconductors. The electrical conductivity of the semiconductors changes considerably with temper

Quartus, I have a project due tomorrow, i have exhuasted all my resources, ...

I have a project due tomorrow, i have exhuasted all my resources, and cannot understand how to do the project, it is VHDL coding in Quartus program, i can send the assignment if yo

Binary to hexadecimal conversion, Binary  to Hexadecimal  Conversion ...

Binary  to Hexadecimal  Conversion To convert a binary  number  into  hexadecimal  divide the number into group  of four  bits  each starting from the least significant bit. Th

Dc machines, commutator in d.c machine acts as... what????

commutator in d.c machine acts as... what????

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