Hpc_unit-1 Insem Notes
Hpc_unit-1 Insem Notes
CO1:
Understand various Parallel Paradigm
1: Introduction to Parallel Computing
Syllabus:
Introduction to Parallel Computing: Motivating Parallelism
Modern Processor: Stored-program computer architecture,
General-purpose Cache-based Microprocessor architecture
Parallel Programming Platforms: Implicit Parallelism,
Dichotomy of Parallel Computing Platforms, Physical
Organization of Parallel Platforms, Communication Costs in
Parallel Machines. Levels of parallelism,
Models: SIMD, MIMD, SIMT, SPMD, Data Flow Models,
Demand-driven Computation,
Architectures: N-wide superscalar architectures, multi-core,
multi-threaded.
Introduction to Parallel
Computing
Traditionally, software has been written for serial computation:
– To be run on a single computer having a single Central Processing
Unit (CPU);
– A problem is broken into a discrete series of instructions.
– Instructions are executed one after another.
– Only one instruction may execute at any moment in time.
Serial computation:
Parallel Computing
• Reference:
http://prdrklaina.weebly.com/uploads/5/7/7/3/5773421/int
roduction_to_high_performance_computing_for_scientist
s_and_engineers.pdf
Scope of Parallelism
Completely-connected
Star
Linear array
Hypercube
Crossbar
Omega Network
Dynamic Tree
Cache Coherence
in Multiprocessor Systems
• Interconnects provide basic mechanisms for data
transfer.
• In the case of shared address space machines,
additional hardware is required to coordinate access to
data that might have multiple copies in the network.
• The underlying technique must provide some guarantees
on the semantics.
• This guarantee is generally one of serializability, i.e.,
there exists some serial order of instruction execution
that corresponds to the parallel schedule.
Cache Coherence
in Multiprocessor Systems
When the value of a variable is changes, all its
copies must either be invalidated or updated.
Ref:http://prdrklaina.weebly.com/uploads/5/7/7/3/5773421/introduction_to_high_perf
ormance_computing_for_scientists_and_engineers.pdf
Models : SIMD, MIMD, SIMT, SPMD
MIMD
SIMT
• Refernce:http://prdrklaina.weebly.com/uploads/5/7/7/3/5773421/introduction_to_high_
performance_computing_for_scientists_and_engineers.pdf
Demand Driven and Data flow
• Book Name:
• ADVANCED COMPUTER ARCHITECTURE