What do you mean by openMP, Computer Networking

Assignment Help:

Q. What do you mean by OpenMP?

OpenMP is a compiler directive based standard developed in late 1990s together by a group of main computer software and hardware vendors. It is portable across various popular platforms together with UNIX and Windows NT platforms. OpenMP FORTRAN API was released in 1997, October 28 and C/C++ API was released in late 1998. We will consider only C/C++ API.

The OpenMP API employs fork-join model of parallel execution. As soon as an OpenMP program begins executing it creates single thread of execution known as initial thread. The primary thread executes sequentially. The instant it gets a parallel construct the thread creates extra threads in addition works like master thread for all other threads. Every one of the new threads execute code inside parallel construct.  Only master thread continues execution of user code outside end of parallel construct. There is no limit on number of parallel constructs in a single program. When a thread with its child threads comes across a work sharing construct the work in construct is splitted among members of team and executed cooperatively in place of being executed by each thread. Execution of code by each thread in the team recommences after the end of work sharing construct. Synchronization constructs as well as library routines are accessible in OpenMP to coordinate threads and data in parallel and work-sharing constructs.


Related Discussions:- What do you mean by openMP

Explain about congestion control, Q. Explain about Congestion control? ...

Q. Explain about Congestion control? Congestion control Open-loop congestion control - prevent congestion before it happens retransmission policy - Ret

Use of infrared, Q. Use of Infrared? - Frequencies among 300 GHz and 4...

Q. Use of Infrared? - Frequencies among 300 GHz and 400 THz - Short-range communication - High frequencies can't penetrate walls - Necessitate line-of-sight propagati

What are the key elements of protocols, What are the key elements of protoc...

What are the key elements of protocols? The key elements of protocols are a. Syntax   It refers to the structure or format of the data that is the order in which they a

Metrics are used by routing protocols, What metrics are used by routing pro...

What metrics are used by routing protocols to verify the best path?

What is backbone network, What is backbone network? A backbone network ...

What is backbone network? A backbone network is a centralized infrastructure that is intended to distribute dissimilar routes and data to various networks. It also handles mana

Data sources in circuit-switching mode of operation, A data link is shared ...

A data link is shared by 20 data sources. Each source is active only 10% of the time and produces 1Mbps data rate when active. The sources start their transmissions at random. a

State the difference between byte streams and message, State the difference...

State the difference between Byte streams and message Byte streams and message are different. In a message stream, network keeps track of the message boundaries. In a byte stre

Determine the switch in a physical ring, Switch In a physical ring ...

Switch In a physical ring configuration any disabled or else disconnected node can disable the entire network Use of a switch can permit the ring to bypass an inactive

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