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

What are the basic operations of mosfet, Q. What are the basic operations ...

Q. What are the basic operations of  MOSFET? The gate to source voltage is set to zero volts by the direct connection from one terminal to the other,and a voltage Vds is applie

Find the characteristic impedance, (a) Now consider a typical open-wire tra...

(a) Now consider a typical open-wire transmission line with parameters of R = 14 /mi, L = 4.6 mH/mi, C = 0.01 µF/mi, and G = 0.3×10 -6 S/mi. If the line operates at 1 kHz, find t

What is direct memory access, What is Direct memory access? Direct memo...

What is Direct memory access? Direct memory access (DMA) is a process wherein an external device takes over the control of system bus by the CPU.DMA is for high-speed data tran

What is choke packet, a. Explain Choke packet. Describe implicit Congestion...

a. Explain Choke packet. Describe implicit Congestion Signalling and explicit Congestion Signalling in Congestion control. b. State routing parameters in packet switching networ

Bureau of energy efficiency, Bureau of Energy Efficiency Setting up o...

Bureau of Energy Efficiency Setting up of the Bureau of Energy Efficiency The Bureau of Energy Efficiency has been established with effect from 1st March, 2002 under the

Calculate the ratio v/i for an ideal diode, Q. Assuming the diode to obey I...

Q. Assuming the diode to obey I = IS (e V/0.026 -1), calculate the ratio V/I for an ideal diode with I S = 10 -13 A for the applied voltages of -2,-0.5, 0.3, 0.5, 0.7, 1.0, and

Explain keyboard interfacing to 8088 through 8279, Explain keyboard interfa...

Explain keyboard interfacing to 8088 through 8279 . The 8279 is a programmable keyboard and display interfacing component which scans and encodes up to a 64-key keyboard and con

Explain basic working of ideal operational amplifier, Q. Explain basic work...

Q. Explain basic working of Ideal operational amplifier? The operational amplifier, known also as op amp, consists of several transistors, diodes, capacitors, and resistors. It

Working design with realistic models, A preliminary design with ideal resis...

A preliminary design with ideal resistors, inductors and capacitors, will get 25 marks. If the design does not meet the specifications then one mark will be deducted following the

Explain about simplex communication, Q. Explain about Simplex communication...

Q. Explain about Simplex communication? Simplex communication: Microphone and the earphone are transducer elements of the telephone communication system. Microphone converts

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