SlideShare a Scribd company logo
13
Most read
14
Most read
15
Most read
PARALLEL LANGUAGE
AND COMPILER
INTRODUCTION
The environment

for parallel computers is much

more demanding than that for sequential computers
The programming

environment is a collection of

software tools and system software support
To

break this hardware/software barrier , we need a

parallel software environment
Which provide better

tools for user to implement

parallelism and to debug programs
LANGUAGE FEATURES
 Features are

idealized for general purpose

application.

 Some

of the features are identified with existing

language /compiler development.

 Language features

are classified into six categories
CATEGORIES
 Optimization

 Availability

features.

features.

 Synchronization /communication
 Control

of parallelism

 Data parallelism
 Process

features

management features

features.
OPTIMIZATION FEATURES
 This

features converting sequentially coded

programs into parallel forms.
 The purpose is

to match the software with the

hardware Parallelism in the target machine.
 Automated

parallelizer(alliant FX fortan)

 Semiautomed
 Interractive

parallelizer(programers intrection)

restructure support(static analyser , run

time static , data flow graph,)
AVAILABILTY FEATURES
 Feature enhance user

friendliness . Make the

language portable to a larger class of parallel
computer
 Expand

the applicability of software libraries

 Scalabilty – scalable to the number of processors available

and independent of hardware topology
 Compatibility-compatible with establishment sequential
 Portability –portable to shared memory multiprocessors ,

message passing multicomputers , or both
SYNC/COMMUN FEATURES
 Single assignment

 Remote

languages

producer call

 Data

flow languages such as ID

 Send

/receive for message passing

 Barriers

,mailbox , semaphores , monitors
CONTROL OF PARALLELISM
 Coarse

,medium, or fine grains

 Explicit
 Global
 Take

versus implicit parallelism

parallelism in the entire program

spilt parallelism

 Shared

task queue
DATA PARALLELISM FEATURES
 Used

to specify how data are accessed and

distributed in either SIMD and MIMD computers
 Run- time

automatic decomposition

 Mapping specification
 Virtual
 Direct

processor support

access to shared data

 SPMD(single program multiple

data)
PROCESS MANAG FEATURES
 Needed

to support the efficient creation of parallel

processes , implementation of multithreading or
multitasking.
 Dynamic

process creation at run time

 Light weight

processes(threads)- compare to

UNIX(heavyweight)processes
 Replicated work
 Partitioned networks
 Automatic

load balancing
COMPILERS
 Using

 It’s

high level language in source code

become a necessity in modern computer

ROLE OF COMPILER
 Remove

the burden of program optimization and

code generation from the programmer.
THREE PHASES OF COMPILER

FLOW ANALYSIS
OPTIMIZATION
CODE

GENERATION
FLOW ANALYSIS
 Program

flow pattern in order to determine data and

control dependence in the source code
 Flow

analysis is conducted at different execution levels

on different parallel computers
 Instruction level parallelism is

exploited in super scalar

or VLSI processors , loop level in SIMD , vector,
 Task

level in multiprocessors , multicomputer , or a

network workstation
OPTIMIZATION
 The transformation

of user programs in order to explore

the hardware capabilities as much as possible
 Transformation can

be conducted at the loop level

, locality level , or prefetching level
 The ultimate

goal of PO is to maximize the speed of

code execution
 It

involves minimization of code length and of memory

accesses and the exploitation
 Sometimes

should be conducted at the algorithmic

level and must involves the programmer
CODE GENERATION
 Code

generation usually involves transformation from one

representation to another ,called an intermediate form
 Even more

demanding because parallel constructs must be

included
 Code

generation closely tied to instruction scheduling

policies used
 Optimized

to encourage a high degree of parallelism

 Parallel code

generation is very different fo different

computer classes they are software and hardware scheudled
THANK ‘S

More Related Content

What's hot (20)

PDF
Aca2 10 11
Sumit Mittu
 
PPT
Hardware and Software parallelism
prashantdahake
 
PPT
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
PPTX
Parallel Programing Model
Adlin Jeena
 
PPTX
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
PPT
Evaluation of morden computer & system attributes in ACA
Pankaj Kumar Jain
 
PPT
parallel programming models
Swetha S
 
PPTX
Peephole Optimization
United International University
 
PPT
multiprocessors and multicomputers
Pankaj Kumar Jain
 
PPTX
Connection Machine
butest
 
PPTX
Architectural Development Tracks
ANJALIG10
 
PPTX
Data Parallel and Object Oriented Model
Nikhil Sharma
 
PPTX
Code Optimization
Akhil Kaushik
 
PPTX
2.2. language evaluation criteria
annahallare_
 
PPT
system interconnect architectures in ACA
Pankaj Kumar Jain
 
PDF
Domain specific Software Architecture
DIPEN SAINI
 
PDF
Issues in the design of Code Generator
Darshan sai Reddy
 
PPT
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
PDF
Program and Network Properties
Beekrum Duwal
 
PPTX
Principle source of optimazation
Siva Sathya
 
Aca2 10 11
Sumit Mittu
 
Hardware and Software parallelism
prashantdahake
 
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
Parallel Programing Model
Adlin Jeena
 
Dichotomy of parallel computing platforms
Syed Zaid Irshad
 
Evaluation of morden computer & system attributes in ACA
Pankaj Kumar Jain
 
parallel programming models
Swetha S
 
Peephole Optimization
United International University
 
multiprocessors and multicomputers
Pankaj Kumar Jain
 
Connection Machine
butest
 
Architectural Development Tracks
ANJALIG10
 
Data Parallel and Object Oriented Model
Nikhil Sharma
 
Code Optimization
Akhil Kaushik
 
2.2. language evaluation criteria
annahallare_
 
system interconnect architectures in ACA
Pankaj Kumar Jain
 
Domain specific Software Architecture
DIPEN SAINI
 
Issues in the design of Code Generator
Darshan sai Reddy
 
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
Program and Network Properties
Beekrum Duwal
 
Principle source of optimazation
Siva Sathya
 

Viewers also liked (19)

PPTX
Loop parallelization & pipelining
jagrat123
 
PPTX
Software agents
Aryan Rathore
 
PPT
Lecture: Software Agents and P2P
James Salter
 
PDF
Software Agents for Internet of Things - at AINL 2014
Anton Kolonin
 
PPTX
Software agents
rajsandhu1989
 
PPT
Open MPI
Anshul Sharma
 
PPT
SaaAS (Software as an Agent Service) : SaaS - THE MOBILE AGENT BASED SERVICE ...
Sai Butchi babu Manepalli
 
PPTX
IoT Agents (With Lightweight M2M)
dmoranj
 
PDF
Aca2 08 new
Sumit Mittu
 
PPTX
INSTRUCTION LEVEL PARALLALISM
Kamran Ashraf
 
PPTX
IoT Agents (Introduction)
dmoranj
 
PPT
Lecture 1
Mr SMAK
 
PPTX
Instruction pipeline: Computer Architecture
InteX Research Lab
 
PPTX
Instruction level parallelism
deviyasharwin
 
PPTX
Pipelining and vector processing
Kamal Acharya
 
PPT
pipelining
Siddique Ibrahim
 
PPT
Code Optimization
guest9f8315
 
PPT
Point-to-Point Communicationsin MPI
Hanif Durad
 
PPT
Chapter 6 pc
Hanif Durad
 
Loop parallelization & pipelining
jagrat123
 
Software agents
Aryan Rathore
 
Lecture: Software Agents and P2P
James Salter
 
Software Agents for Internet of Things - at AINL 2014
Anton Kolonin
 
Software agents
rajsandhu1989
 
Open MPI
Anshul Sharma
 
SaaAS (Software as an Agent Service) : SaaS - THE MOBILE AGENT BASED SERVICE ...
Sai Butchi babu Manepalli
 
IoT Agents (With Lightweight M2M)
dmoranj
 
Aca2 08 new
Sumit Mittu
 
INSTRUCTION LEVEL PARALLALISM
Kamran Ashraf
 
IoT Agents (Introduction)
dmoranj
 
Lecture 1
Mr SMAK
 
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Instruction level parallelism
deviyasharwin
 
Pipelining and vector processing
Kamal Acharya
 
pipelining
Siddique Ibrahim
 
Code Optimization
guest9f8315
 
Point-to-Point Communicationsin MPI
Hanif Durad
 
Chapter 6 pc
Hanif Durad
 
Ad

Similar to parallel language and compiler (20)

PPTX
Parallel language and compiler
SVijaylakshmi
 
PPTX
Parallel language & compilers
dikshagupta111
 
PPT
Introduction to compiler design, PPT-1, MODULE 1
ROSHNI PRADHAN
 
PPTX
Principles of Intro to Programming Languages
nnillas140014tc
 
PPTX
parallel programming Models in system(1).pptx
sayalee7
 
PPTX
Preliminary Concepts in principlesofprogramming.pptx
yogashreeyoga1100
 
PPTX
Principlesofprogramminglanguage concepts.pptx
yogashreeyoga1100
 
PDF
2 parallel processing presentation ph d 1st semester
Rafi Ullah
 
PPT
Unit5
Sneha Soni
 
PDF
CS-321 Compiler Design computer engineering PPT.pdf
chauhanmr47
 
PDF
Introduction
baran19901990
 
PPTX
PCSG_Computer_Science_Unit_1_Lecture_2.pptx
AliyahAli19
 
PPT
Floating Point Operations , Memory Chip Organization , Serial Bus Architectur...
VAISHNAVI MADHAN
 
PPT
Floating Point Operations , Memory Chip Organization , Serial Bus Architectur...
KRamasamy2
 
PPTX
Unit 1_Evaluation Criteria_session 3.pptx
Guru Nanak Technical Institutions
 
DOC
Aca module 1
Avinash_N Rao
 
PDF
Introduction to compiler development
DeepOad
 
PPTX
Lecture 1 introduction to language processors
Rebaz Najeeb
 
PDF
Lecture 2 more about parallel computing
Vajira Thambawita
 
PDF
Chapter#01 cc
abdulbaki3
 
Parallel language and compiler
SVijaylakshmi
 
Parallel language & compilers
dikshagupta111
 
Introduction to compiler design, PPT-1, MODULE 1
ROSHNI PRADHAN
 
Principles of Intro to Programming Languages
nnillas140014tc
 
parallel programming Models in system(1).pptx
sayalee7
 
Preliminary Concepts in principlesofprogramming.pptx
yogashreeyoga1100
 
Principlesofprogramminglanguage concepts.pptx
yogashreeyoga1100
 
2 parallel processing presentation ph d 1st semester
Rafi Ullah
 
Unit5
Sneha Soni
 
CS-321 Compiler Design computer engineering PPT.pdf
chauhanmr47
 
Introduction
baran19901990
 
PCSG_Computer_Science_Unit_1_Lecture_2.pptx
AliyahAli19
 
Floating Point Operations , Memory Chip Organization , Serial Bus Architectur...
VAISHNAVI MADHAN
 
Floating Point Operations , Memory Chip Organization , Serial Bus Architectur...
KRamasamy2
 
Unit 1_Evaluation Criteria_session 3.pptx
Guru Nanak Technical Institutions
 
Aca module 1
Avinash_N Rao
 
Introduction to compiler development
DeepOad
 
Lecture 1 introduction to language processors
Rebaz Najeeb
 
Lecture 2 more about parallel computing
Vajira Thambawita
 
Chapter#01 cc
abdulbaki3
 
Ad

Recently uploaded (20)

PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 

parallel language and compiler

  • 2. INTRODUCTION The environment for parallel computers is much more demanding than that for sequential computers The programming environment is a collection of software tools and system software support To break this hardware/software barrier , we need a parallel software environment Which provide better tools for user to implement parallelism and to debug programs
  • 3. LANGUAGE FEATURES  Features are idealized for general purpose application.  Some of the features are identified with existing language /compiler development.  Language features are classified into six categories
  • 4. CATEGORIES  Optimization  Availability features. features.  Synchronization /communication  Control of parallelism  Data parallelism  Process features management features features.
  • 5. OPTIMIZATION FEATURES  This features converting sequentially coded programs into parallel forms.  The purpose is to match the software with the hardware Parallelism in the target machine.  Automated parallelizer(alliant FX fortan)  Semiautomed  Interractive parallelizer(programers intrection) restructure support(static analyser , run time static , data flow graph,)
  • 6. AVAILABILTY FEATURES  Feature enhance user friendliness . Make the language portable to a larger class of parallel computer  Expand the applicability of software libraries  Scalabilty – scalable to the number of processors available and independent of hardware topology  Compatibility-compatible with establishment sequential  Portability –portable to shared memory multiprocessors , message passing multicomputers , or both
  • 7. SYNC/COMMUN FEATURES  Single assignment  Remote languages producer call  Data flow languages such as ID  Send /receive for message passing  Barriers ,mailbox , semaphores , monitors
  • 8. CONTROL OF PARALLELISM  Coarse ,medium, or fine grains  Explicit  Global  Take versus implicit parallelism parallelism in the entire program spilt parallelism  Shared task queue
  • 9. DATA PARALLELISM FEATURES  Used to specify how data are accessed and distributed in either SIMD and MIMD computers  Run- time automatic decomposition  Mapping specification  Virtual  Direct processor support access to shared data  SPMD(single program multiple data)
  • 10. PROCESS MANAG FEATURES  Needed to support the efficient creation of parallel processes , implementation of multithreading or multitasking.  Dynamic process creation at run time  Light weight processes(threads)- compare to UNIX(heavyweight)processes  Replicated work  Partitioned networks  Automatic load balancing
  • 11. COMPILERS  Using  It’s high level language in source code become a necessity in modern computer ROLE OF COMPILER  Remove the burden of program optimization and code generation from the programmer.
  • 12. THREE PHASES OF COMPILER FLOW ANALYSIS OPTIMIZATION CODE GENERATION
  • 13. FLOW ANALYSIS  Program flow pattern in order to determine data and control dependence in the source code  Flow analysis is conducted at different execution levels on different parallel computers  Instruction level parallelism is exploited in super scalar or VLSI processors , loop level in SIMD , vector,  Task level in multiprocessors , multicomputer , or a network workstation
  • 14. OPTIMIZATION  The transformation of user programs in order to explore the hardware capabilities as much as possible  Transformation can be conducted at the loop level , locality level , or prefetching level  The ultimate goal of PO is to maximize the speed of code execution  It involves minimization of code length and of memory accesses and the exploitation  Sometimes should be conducted at the algorithmic level and must involves the programmer
  • 15. CODE GENERATION  Code generation usually involves transformation from one representation to another ,called an intermediate form  Even more demanding because parallel constructs must be included  Code generation closely tied to instruction scheduling policies used  Optimized to encourage a high degree of parallelism  Parallel code generation is very different fo different computer classes they are software and hardware scheudled