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 the decimal to hex conversion, Q. Show the Decimal to Hex Conversion? ...

Q. Show the Decimal to Hex Conversion? To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16.

Motor, operation of induction motor

operation of induction motor

Find the rotor copper loss, A three-phase, 50-hp, 440-V, 60-Hz, four-pole, ...

A three-phase, 50-hp, 440-V, 60-Hz, four-pole, wound-rotor inductionmotor operates at a slip of 0.03 at full load,with its slip rings short-circuited. The motor is capable of devel

Find the thevenin equivalent of the circuit, (a) Find the Thevenin equivale...

(a) Find the Thevenin equivalent of the circuit shown in Figure (a) at the terminals A-B. (b) Determine the impedance that must be connected to the terminals A-B so that it is m

Explain jmp instruction and call instruction., Explain the difference betwe...

Explain the difference between a JMP instruction and CALL instruction. A JMP instruction permanently alters the program counter. A CALL instruction leaves information on the st

Obtain the thevenin equivalent at terminals, Consider the circuit of Figure...

Consider the circuit of Figure (a), including a dependent source. Obtain the Thévenin equivalent at terminals a-b.

Elucidate the working of broad band ISDN, Q. Elucidate the working of broad...

Q. Elucidate the working of broad band ISDN? Ans: BISDN Configuration: Figuredemonstrates how access to BISDN network is accomplished. Every peripheral device is interfaced

Mvi move immediate instruction , MVI Move Immediate  Instruction This...

MVI Move Immediate  Instruction This form  of the instruction is used to copy 8bit  data ( specified  in the  instruction )  directly  into the  register or memory  pointed by

Different types of probes used in cathode ray oscilloscope, Q.   Explain th...

Q.   Explain the different types of probes used in cathode Ray Oscilloscope (CRO). Sol. probes: The probe performs the very important function of connecting the test circuit

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