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

Node-voltage method to find the current, Q. Use the node-voltage method to ...

Q. Use the node-voltage method to find the current I through the 5- resistor of the circuit of Figure.

Specific core indicators method, Specific Core Indicators Method This ...

Specific Core Indicators Method This technique emphasizes to assign the responsibility and create the accountability. It is possible in which for any of the main indicators, t

Types of field-effect transistors, Types of Field-Effect Transistors T...

Types of Field-Effect Transistors The channel of a FET (field-effect transistor) is doped to produce either an N-type semiconductor or a P-type semiconductor. The drain and so

What does eu do?, Basically,8086 is separated into two part. 1. BIU. 2. EU ...

Basically,8086 is separated into two part. 1. BIU. 2. EU Execution Unit(EU)Fetch the instruction from Queue(memory(6 byte) in BIU.) and implement it.

Conductometry experiment, why conductance is not zero at end pont? reply as...

why conductance is not zero at end pont? reply as soon as possible.

Linear and IC applications, bias compensation techniques for ac and dc char...

bias compensation techniques for ac and dc characteristics

Calculate the supply line current, A balanced star-connected load is connec...

A balanced star-connected load is connected across a three phase 450V 50 Hz AC supply. Each load element has an impedance of 5+j12 Ω. Calculate: (i)  The power factor of the

Find the resistance of wire, The resistance of a wire is 60 ? at 25 o C and...

The resistance of a wire is 60 ? at 25 o C and 65? at 75 o C. Find the resistance of wire at 0 o C and value of temperature co-efficient at 0 o C. Ans: Given R 25 = 60 ? a

Emi, what is direct reading probe

what is direct reading probe

Explain magnetostriction, Explain Magnetostriction. Magnetostriction: I...

Explain Magnetostriction. Magnetostriction: If ferromagnetic materials are magnetized a small change of dimensions of the material obtains place. There is a small extension alo

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