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

Cro, oscilloscope probes specification & performance

oscilloscope probes specification & performance

Threshold switching voltage, Analogue Threshold switching a) Include a...

Analogue Threshold switching a) Include a variable potential divider to the schematic diagram to control the transistor base voltage b) Include the potential divider compon

Accumulator - registers , Accumulator - Registers It is an  8 bit  re...

Accumulator - Registers It is an  8 bit  registers which  is the most  important  part of  the arithmetic  and logic unit.  It is used to store  8 bit  data.  The result  of

MUX, Is it used to replace the basic gates ?

Is it used to replace the basic gates ?

Explain balanced wye-connected load, Balanced Wye-Connected Load Let us...

Balanced Wye-Connected Load Let us consider a three-phase, four-wire 208-V supply system connected to a balanced wye connected load with an impedance of 10 20° , as shown in F

Properties of conductors and insulators, Properties of Conductors and Insul...

Properties of Conductors and Insulators: This unit provides the basic characteristics or properties of the most common materials which are classified as semiconductor, conduct

Compare mosfet with jfet, Q. Compare MOSFET with  JFET? a. In enhanceme...

Q. Compare MOSFET with  JFET? a. In enhancement and depletion types of MOSFET,the transverse electric field induced across an insulating layer deposited on the semiconductor ma

Explain what is doping, What is meant by doping? Doping: Semiconduct...

What is meant by doping? Doping: Semiconductors in its extremely pure form are termed as intrinsic semiconductor such intrinsic semiconductor to which several suitable impur

Diod, explain the application of the Si,zener,and LED diodes

explain the application of the Si,zener,and LED diodes

What do you understand by common control, Q. What do you understand by comm...

Q. What do you understand by common control? In some switching systems, control subsystem may be an integral part of switching network itself. Such system iscalled direct contr

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