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

Explain about floating point numbers, Q. Explain about Floating Point Numbe...

Q. Explain about Floating Point Numbers? The IEEE Standard 754 floating point is the most common representation today for real numbers on computers. There are numerous ways

Npn bjt with forward-biased, NPN BJT with forward-biased: An NPN trans...

NPN BJT with forward-biased: An NPN transistor can be referred as two diodes along with a shared anode. In common operation, the base-emitter junction is forward biased and th

R.h. corkscrew rule, R.h. corkscrew rule Note the direction of the flu...

R.h. corkscrew rule Note the direction of the flux is given by Maxwell's 'R.H. corkscrew rule' and that the flux lines are continuous Applying  Ampere's  Law  to  a  concentri

Show process of power transmission and distribution, Q. Show Process of Pow...

Q. Show Process of Power transmission and distribution? The structure of a power system can be divided into generation (G), transmission, (T), and distribution (D) facilities,

Evaluate the condition on the amplifier noise temperature, Alow-noise trans...

Alow-noise transducer is connected to an instrumentation system by a cable that generates thermal noise at room temperature. The information-bearing signal has a bandwidth of 6 kHz

Can you show binary number formats, Q. Can you show Binary Number Formats? ...

Q. Can you show Binary Number Formats? We in general write binary numbers as a sequence of bits (bits is short for binary digits) and we have defined boundaries for these bits.

Wheaton bridge with differential amplifier, when strain gauge design give a...

when strain gauge design give accurate measurement on zero and maximum 999kg but not 500kg

Determine the required tapping on the transformer, An induction motor has a...

An induction motor has a starting current that is 6 times the full-load current and a per-unit full- load slip of 0.04. The machine is to be provided with an autotransformer starte

Change of phase, Write an m-file "myfourier.m" which takes two images, comp...

Write an m-file "myfourier.m" which takes two images, computes FFT, phase and amplitude and swaps the amplitudes between two images. function myfourier im1=imread('cameraman.pn

Low-pass electronic filter, Low-pass electronic filter: The capacitors...

Low-pass electronic filter: The capacitors and inductors are the reactive elements of the filter. The number of elements ascertains the order of the filter. In this situation,

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