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

Home energy management.., I need help to build a circuit diagram for home e...

I need help to build a circuit diagram for home energy management.It includes load controllers,a central system in which we should programme all of the control commands,and a two w

Describing the steady state effect , Select the response describing the ste...

Select the response describing the steady state effect of increasing the air gap for otherwise identical devices, one operating with constant DC voltage excitation and one with con

3-phase 3 wire meter, 3-Phase 3 Wire Meter A 3-phase 3 wire meter has ...

3-Phase 3 Wire Meter A 3-phase 3 wire meter has 2 elements of each category on the other hand of 3 elements as in the case of 3-phase 4 wire meter. The primary principle of op

Compensating windings, #full discuss on compensating windingsquestion..

#full discuss on compensating windingsquestion..

Emf, discuss the factor affecting the emf induced in electric machines

discuss the factor affecting the emf induced in electric machines

Explain the discrete time systems, Explain the Discrete Time Systems? A...

Explain the Discrete Time Systems? A system operates on an input signal, x[n] and output the results, y[n]. For example, a digital filter (a system) can be represented by the f

Write explanatory notes on paging, Write explanatory notes on Paging. T...

Write explanatory notes on Paging. The memory paging mechanism located inside the 80386 and above permits any physical memory location to be allocated to any linear address. Th

TTL input logic circuit, I am building a testing device for the purpose of ...

I am building a testing device for the purpose of screening a 5801 BiMOS 8 BIT Parallel-input Latched Driver, I need help with input circuit to drive all 8 outputs one at a time. M

Obtain the value of rs, Consider and obtain the values for R S , R 2 , R 1 ...

Consider and obtain the values for R S , R 2 , R 1 , and R D . Apply the rule-of-thumb dc design procedure outlined in this section for a JFET with V P = 3V, I DSS = 20 mA, and a

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