SlideShare a Scribd company logo
15
Most read
22
Most read
23
Most read
Parallel programming model, language and compiler in ACA.
 A programming model is a collection of program
abstraction providing a programmer a simplified
and transparent view of computer H/W and S/W.
 Parallel programming model is designed for vector
computers.
 Fundamental issues in parallel programming.
 Creation, suspension, reactivation, termination.
Five model are designed that exploits
parallelism-:
 Shared-variable model.
 Message-passing model.
 Data parallel model.
 Object oriented model.
 Functional and logic model.
 In shared variable model parallelism depends on
how IPC is implemented.
 IPC implemented in parallel programming by two
ways.
 IPC using shared variable.
 IPC using message passing.
 IPC with shared variable
 IPC with message passing
 Critical section.
 Memory consistency.
 Atomicity with memory operation.
 Fast synchronization.
 Shared data structure.
 Two process communicate with each other by
passing message through a network.
 Delay caused by message passing is much longer
than shared variable model in a same memory.
 Two message passing approach are introduced here.
Synchronous message passing-:
 Its synchronizes the sender and receiver process
with time and space just like telephone call.
 No shared memory.
 No need of mutual exclusion.
 No buffer are used in communication channel.
 It can be blocked by channel being busy.
Asynchronous message passing-:
 Does not need to synchronize the sender and
receiver in time and space.
 Non blocking can be achieved.
 Buffer are used to hold the message along the path
of connecting channel.
 Message passing programming is gradually
changing, once the virtual memory from all nodes
are combined.
 It require the use of pre-distributed data set.
 Interconnected data structure are also needed to
facilitate data exchange operation.
 It emphasizes local computation and data routing
operation such as permutation, replication, reduction
and parallel prefix.
 It can be implemented on either SIMD or SPMD
multicomputer, depending on the grain size of
program.
 Object are created and manipulated dynamically.
 Processing is performed using object.
 Concurrent programming model are built up from
low level object such as processes, queue and
semaphore.
 C-OOP achieve parallelism using three methods.
 Pipeline concurrency.
 Divide and conquer concurrency.
 Co-operating problem solving.
 Two language-oriented programming for parallel
processing are purposed.
 Functional programming model such as LISP,
SISAL, Strand 88.
 Logic programming model as prolog.
 Based on predicate logic, logic programming is
suitable for solving large database queries.
 Language feature for parallel programming into six
categories according to functionality.
Optimization features
 Used for program restructuring and compilation
directives.
 Sequentially coded program into parallel code.
 Automated parallelization.
 Semi-automated parallelization.
Availability feature
 Its use to enhance the user- friendliness.
 Make language portable to large class of parallel
computers.
 Scalability.
 Compatibility.
 Portability.
Synchronization/ communication feature
 Shared variable for IPC.
 Single assignment language.
 Send/receive for message passing.
 Logical shared memory such as the row space in
Linda.
 Remote procedure call.
 Data flow languages such as id.
.
Control of parallelism
 Coarse, medium or fine grain.
 Explicit versus implicit parallelism.
 Loop parallelism in iteration.
 Shared task queue.
 Divide and conquer paradigm.
 Shared abstract data type.
Data parallelism feature
 It specified how data are accessed and distributed
 Runtime automatic decomposition.
 Mapping specification.
 Virtual processor support.
 Direct access to shared data.
Process management features
 These feature are needed to support the efficient
creation of parallel processes.
 Implementation of multithreading or multitasking.
 Dynamic process creation at runtime.
 Automatic load balancing.
 Light weight processes.
 Special language construct and data array
expression for exploiting parallelism in program.
 First is FORTRAN 90 array notation.
 Parallel flow control is achieve using do across and
do all type of keyword which is use in the
FORTRAN 90.
 Same we also use FORK and JOIN method.
 The role of compiler to remove the burden of
program optimization and code generation.
 A parallelizing compiler consist of the three major
phases.
 Flow analysis.
 Optimization.
 Code generation.
“Compilation phases in parallel code generation”
THANK YOU

More Related Content

What's hot (20)

PPT
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
PPTX
Parallel Programing Model
Adlin Jeena
 
PDF
Aca2 10 11
Sumit Mittu
 
PPT
advanced computer architesture-conditions of parallelism
Pankaj Kumar Jain
 
PPT
system interconnect architectures in ACA
Pankaj Kumar Jain
 
PPT
Hardware and Software parallelism
prashantdahake
 
PDF
Advanced computer architecture unit 5
Kunal Bangar
 
PPT
program flow mechanisms, advanced computer architecture
Pankaj Kumar Jain
 
PPTX
System interconnect architecture
Gagan Kumar
 
PPTX
Lec 4 (program and network properties)
Sudarshan Mondal
 
PDF
Parallelism
Md Raseduzzaman
 
PPTX
Parallel programming model
Illuru Phani Kumar
 
PPTX
Delphi cost estimation model
Shashwat Shriparv
 
PDF
CS6601 DISTRIBUTED SYSTEMS
Kathirvel Ayyaswamy
 
PPT
Evaluation of morden computer & system attributes in ACA
Pankaj Kumar Jain
 
PPTX
2. Distributed Systems Hardware & Software concepts
Prajakta Rane
 
PPTX
Class and object_diagram
Sadhana28
 
PPTX
Memory Management in OS
Kumar Pritam
 
PPTX
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
PDF
Fault tolerance
Gaurav Rawat
 
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
Parallel Programing Model
Adlin Jeena
 
Aca2 10 11
Sumit Mittu
 
advanced computer architesture-conditions of parallelism
Pankaj Kumar Jain
 
system interconnect architectures in ACA
Pankaj Kumar Jain
 
Hardware and Software parallelism
prashantdahake
 
Advanced computer architecture unit 5
Kunal Bangar
 
program flow mechanisms, advanced computer architecture
Pankaj Kumar Jain
 
System interconnect architecture
Gagan Kumar
 
Lec 4 (program and network properties)
Sudarshan Mondal
 
Parallelism
Md Raseduzzaman
 
Parallel programming model
Illuru Phani Kumar
 
Delphi cost estimation model
Shashwat Shriparv
 
CS6601 DISTRIBUTED SYSTEMS
Kathirvel Ayyaswamy
 
Evaluation of morden computer & system attributes in ACA
Pankaj Kumar Jain
 
2. Distributed Systems Hardware & Software concepts
Prajakta Rane
 
Class and object_diagram
Sadhana28
 
Memory Management in OS
Kumar Pritam
 
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
Fault tolerance
Gaurav Rawat
 

Viewers also liked (20)

PPTX
Loop parallelization & pipelining
jagrat123
 
PPTX
Parallel Programming
Uday Sharma
 
PPT
Lecture 1
Mr SMAK
 
PPT
Code Optimization
guest9f8315
 
PDF
Comp architecture : branch prediction
rinnocente
 
PDF
Program and Network Properties
Beekrum Duwal
 
PPTX
Parallel language & compilers
dikshagupta111
 
PDF
M.Tech: Advanced Computer Architecture Assignment II
Vijayananda Mohire
 
DOCX
Mefa unit iii material(market stuructures and pricing methods)
Dr. Durgaprasad Navulla
 
PDF
Tomasulo Algorithm
Farwa Ansari
 
PPTX
Instruction Level Parallelism Compiler optimization Techniques Anna Universit...
Dr.K. Thirunadana Sikamani
 
DOCX
Parallel computing persentation
VIKAS SINGH BHADOURIA
 
PDF
Vol1
ashish kumar
 
PDF
Advanced Comuter Architecture Ch6 Problem Solutions
Joe Christensen
 
PDF
Computer architecture kai hwang
Sumedha
 
PPT
Lecture 3
Mr SMAK
 
PPTX
Cache coherence problem and its solutions
Majid Saleem
 
PDF
Pipelining and ILP (Instruction Level Parallelism)
Dr. A. B. Shinde
 
PPT
Lecture 6
Mr SMAK
 
PPTX
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Loop parallelization & pipelining
jagrat123
 
Parallel Programming
Uday Sharma
 
Lecture 1
Mr SMAK
 
Code Optimization
guest9f8315
 
Comp architecture : branch prediction
rinnocente
 
Program and Network Properties
Beekrum Duwal
 
Parallel language & compilers
dikshagupta111
 
M.Tech: Advanced Computer Architecture Assignment II
Vijayananda Mohire
 
Mefa unit iii material(market stuructures and pricing methods)
Dr. Durgaprasad Navulla
 
Tomasulo Algorithm
Farwa Ansari
 
Instruction Level Parallelism Compiler optimization Techniques Anna Universit...
Dr.K. Thirunadana Sikamani
 
Parallel computing persentation
VIKAS SINGH BHADOURIA
 
Advanced Comuter Architecture Ch6 Problem Solutions
Joe Christensen
 
Computer architecture kai hwang
Sumedha
 
Lecture 3
Mr SMAK
 
Cache coherence problem and its solutions
Majid Saleem
 
Pipelining and ILP (Instruction Level Parallelism)
Dr. A. B. Shinde
 
Lecture 6
Mr SMAK
 
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Ad

Similar to Parallel programming model, language and compiler in ACA. (20)

PPTX
parallel programming Models in system(1).pptx
sayalee7
 
PPTX
Basic concepts of parallelization
snegacmr
 
PPTX
Unit 2.2 Parallel programming architecture .pptx
sayalee7
 
PPTX
Wondershare filmora Crack License 100% Working ✅
jack12major
 
PPTX
Download Wondershare Filmora 14 Crack License
jack12major
 
PPT
Unit5
Sneha Soni
 
PPTX
parallel computing paradigm lecture.pptx
SabariPramanikFacult
 
PPT
01-MessagePassingFundamentals.ppt
HarshitPal37
 
PPT
SecondPresentationDesigning_Parallel_Programs.ppt
RubenGabrielHernande
 
PPTX
20090720 smith
Michael Karpov
 
PPTX
Parallel Programming Models: Shared variable model
SHASHIKANT346021
 
PDF
Lecture 2 more about parallel computing
Vajira Thambawita
 
PDF
Module 2.pdf
DrAnjuShukla
 
PPTX
Parallel language and compiler
SVijaylakshmi
 
PPT
parallel programming models
Swetha S
 
PDF
Chapter- 1 Introduction to Object-Oriented Programming.pdf
joshua211619
 
PPTX
Programming language paradigms
Ashok Raj
 
PPTX
Data Parallel and Object Oriented Model
Nikhil Sharma
 
PPT
EEDC Programming Models
Roger Rafanell Mas
 
PPTX
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Prabu U
 
parallel programming Models in system(1).pptx
sayalee7
 
Basic concepts of parallelization
snegacmr
 
Unit 2.2 Parallel programming architecture .pptx
sayalee7
 
Wondershare filmora Crack License 100% Working ✅
jack12major
 
Download Wondershare Filmora 14 Crack License
jack12major
 
Unit5
Sneha Soni
 
parallel computing paradigm lecture.pptx
SabariPramanikFacult
 
01-MessagePassingFundamentals.ppt
HarshitPal37
 
SecondPresentationDesigning_Parallel_Programs.ppt
RubenGabrielHernande
 
20090720 smith
Michael Karpov
 
Parallel Programming Models: Shared variable model
SHASHIKANT346021
 
Lecture 2 more about parallel computing
Vajira Thambawita
 
Module 2.pdf
DrAnjuShukla
 
Parallel language and compiler
SVijaylakshmi
 
parallel programming models
Swetha S
 
Chapter- 1 Introduction to Object-Oriented Programming.pdf
joshua211619
 
Programming language paradigms
Ashok Raj
 
Data Parallel and Object Oriented Model
Nikhil Sharma
 
EEDC Programming Models
Roger Rafanell Mas
 
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Prabu U
 
Ad

Recently uploaded (20)

DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 

Parallel programming model, language and compiler in ACA.

  • 2.  A programming model is a collection of program abstraction providing a programmer a simplified and transparent view of computer H/W and S/W.  Parallel programming model is designed for vector computers.  Fundamental issues in parallel programming.  Creation, suspension, reactivation, termination.
  • 3. Five model are designed that exploits parallelism-:  Shared-variable model.  Message-passing model.  Data parallel model.  Object oriented model.  Functional and logic model.
  • 4.  In shared variable model parallelism depends on how IPC is implemented.  IPC implemented in parallel programming by two ways.  IPC using shared variable.  IPC using message passing.
  • 5.  IPC with shared variable  IPC with message passing
  • 6.  Critical section.  Memory consistency.  Atomicity with memory operation.  Fast synchronization.  Shared data structure.
  • 7.  Two process communicate with each other by passing message through a network.  Delay caused by message passing is much longer than shared variable model in a same memory.  Two message passing approach are introduced here.
  • 8. Synchronous message passing-:  Its synchronizes the sender and receiver process with time and space just like telephone call.  No shared memory.  No need of mutual exclusion.  No buffer are used in communication channel.  It can be blocked by channel being busy.
  • 9. Asynchronous message passing-:  Does not need to synchronize the sender and receiver in time and space.  Non blocking can be achieved.  Buffer are used to hold the message along the path of connecting channel.  Message passing programming is gradually changing, once the virtual memory from all nodes are combined.
  • 10.  It require the use of pre-distributed data set.  Interconnected data structure are also needed to facilitate data exchange operation.  It emphasizes local computation and data routing operation such as permutation, replication, reduction and parallel prefix.  It can be implemented on either SIMD or SPMD multicomputer, depending on the grain size of program.
  • 11.  Object are created and manipulated dynamically.  Processing is performed using object.  Concurrent programming model are built up from low level object such as processes, queue and semaphore.  C-OOP achieve parallelism using three methods.
  • 12.  Pipeline concurrency.  Divide and conquer concurrency.  Co-operating problem solving.
  • 13.  Two language-oriented programming for parallel processing are purposed.  Functional programming model such as LISP, SISAL, Strand 88.  Logic programming model as prolog.  Based on predicate logic, logic programming is suitable for solving large database queries.
  • 14.  Language feature for parallel programming into six categories according to functionality. Optimization features  Used for program restructuring and compilation directives.  Sequentially coded program into parallel code.  Automated parallelization.  Semi-automated parallelization.
  • 15. Availability feature  Its use to enhance the user- friendliness.  Make language portable to large class of parallel computers.  Scalability.  Compatibility.  Portability.
  • 16. Synchronization/ communication feature  Shared variable for IPC.  Single assignment language.  Send/receive for message passing.  Logical shared memory such as the row space in Linda.  Remote procedure call.  Data flow languages such as id. .
  • 17. Control of parallelism  Coarse, medium or fine grain.  Explicit versus implicit parallelism.  Loop parallelism in iteration.  Shared task queue.  Divide and conquer paradigm.  Shared abstract data type.
  • 18. Data parallelism feature  It specified how data are accessed and distributed  Runtime automatic decomposition.  Mapping specification.  Virtual processor support.  Direct access to shared data.
  • 19. Process management features  These feature are needed to support the efficient creation of parallel processes.  Implementation of multithreading or multitasking.  Dynamic process creation at runtime.  Automatic load balancing.  Light weight processes.
  • 20.  Special language construct and data array expression for exploiting parallelism in program.  First is FORTRAN 90 array notation.  Parallel flow control is achieve using do across and do all type of keyword which is use in the FORTRAN 90.  Same we also use FORK and JOIN method.
  • 21.  The role of compiler to remove the burden of program optimization and code generation.  A parallelizing compiler consist of the three major phases.  Flow analysis.  Optimization.  Code generation.
  • 22. “Compilation phases in parallel code generation”