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

Digital frequency metre, what is digital frequency metre?working principle ...

what is digital frequency metre?working principle its operation and types application,advantages ,disadvantages

Forward and reverse-active in bipolar junction transistor, Forward and Reve...

Forward and Reverse-active in Bipolar Junction Transistor: Forward-active (or simply, active): The base-collector junction is reverse biased and base-emitter junction is

Explain direct data addressing mode, Direct data addressing mode (with exam...

Direct data addressing mode (with examples) available in microprocessors. Direct Mode: Instruction comprises memory access. CPU accesses which location into memo

Interpret the assembly output of the lc - 3 compilers, Interpret the Assemb...

Interpret the Assembly Output of the LC - 3 Compilers Goals to understand the stack convention of the LC3 compiler: How the stack pointer and frame pointer are managed

.#title.Simulation on Half wave rectifier using PSpice, How to plot output ...

How to plot output power Vs load resistor graph using PSpice softwaer for half wave rectifier circuit

Organisational trends - power distribution management, Organisational Trend...

Organisational Trends: 1 Organisations are economic and social entities in which a number of persons perform multifarious tasks in order to attain common goals. Four key organ

What do you understand by analog to digital conversion, Q. What do you unde...

Q. What do you understand by Analog to Digital conversion? What do you understand by A/D conversion? Give an explanation of any one of the following A/D techniques: (i) Su

Briefly explain about laplace transform, Q. Briefly explain about Laplace t...

Q. Briefly explain about Laplace transform? Many commonly encountered excitations can be represented by exponential functions. The differential equations describing the network

Projects, I want project ideas.

I want project ideas.

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