并行算法概述(PPT课件讲稿)

并行算法概述
并 行 算 法 概述

目录 °1.并行计算模型 2.并行算法的基本设计技术
目录 • 1.并行计算模型 2.并行算法的基本设计技术 2

Von neumann mode MEMORY MAR MDR INPUT OUTPUT Keyboard Monitor Mouse PROCESSING UNIT Printer Scanner LED Disk ALU丿 [TEMP Disk CONTROL UNIT PC R
Von Neumann Model 3 MEMORY CONTROL UNIT MAR MDR IR PROCESSING UNIT ALU TEMP PC OUTPUT Monitor Printer LED Disk INPUT Keyboard Mouse Scanner Disk

Instruction Processing Fetch instruction from memory Decode instruction Evaluate address Fetch operands from memory Execute operation Store result
Instruction Processing 4 Decode instruction Evaluate address Fetch operands from memory Execute operation Store result Fetch instruction from memory

Parallel Computing model Computing model Bridge between Sw and Hw general purpose hw, scalable hw transportable sw Abstract architecture for algorithm development Ex)PRAM, BSP, LogP
Parallel Computing Model • Computing model – Bridge between SW and HW • general purpose HW, scalable HW • transportable SW – Abstract architecture for algorithm development – Ex) PRAM, BSP, LogP 5

Parallel Programming Model What programmer uses in coding applications? Specifies communication and synchronization Communication primitives exposed to user-level realizes the programming mode Ex Uniprocessor, Multiprogramming, Data parallel message-passing, shared-address-space
Parallel Programming Model • What programmer uses in coding applications? – Specifies communication and synchronization – Communication primitives exposed to user-level realizes the programming model – Ex) Uniprocessor, Multiprogramming, Data parallel, message-passing, shared-address-space 6

Aspects of Parallel Processing ③ Algorithm developer Application developer ang mode System programmer Interconnection Network Memory Memory Memory Memory Multiprocessors Multiprocessors Multiprocessors Multiprocessors Architecture designer
Aspects of Parallel Processing 7 Algorithm developer Application developer Interconnection Network Memory P P P P Memory P P P P Memory P P P P Memory P P P P Multiprocessors Multiprocessors Multiprocessors Multiprocessors Parallel computing model Parallel programming model System programmer Architecture designer 3 4 2 1 Middleware

Parallel computing models PRAM Parallel Random Access memory A set of p processors Global shared memory Each processor can access any memory location in one time step Globally synchronized Executing same program in lockstep
Parallel Computing Models • PRAM – Parallel Random Access Memory – A set of p processors – Global shared memory • Each processor can access any memory location in one time step – Globally synchronized • Executing same program in lockstep 8

lustration of pram Single program executed in MIMD mode CLK Each processor has P1 P2 P3 P a unique index p Shared memory P processors connected to a single shared memory
Illustration of PRAM 9 P1 P2 P3 Pp Shared Memory CLK P processors connected to a single shared memory Each processor has a unique index. Single program executed in MIMD mode

Features Model architecture Synchronized RAM with common clock, but not SIMD operation MIMD No local memory in each RAN One global shared memory single address space architecture Synchronization, communication, parallelism overhead are zero
Features • Model architecture – Synchronized RAM with common clock, but not SIMD operation: MIMD – No local memory in each RAM – One global shared memory • single address space architecture – Synchronization, communication, parallelism overhead are zero. 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 武汉大学:《数据库系统概论》课程教学资源(PPT课件讲稿)第4章 关系数据库理论.ppt
- 西安电子科技大学:《信息系统安全》课程教学资源(PPT课件讲稿)第五章 操作系统安全、第六章 网络安全、第七章 应用安全、第八章 管理安全.ppt
- 华中科技大学:《操作系统原理》课程电子教案(PPT教学课件)第一章 绪论Principles of Operating System(主讲:郑然).ppt
- 《图像处理与计算机视觉 Image Processing and Computer Vision》课程教学资源(PPT课件讲稿)Chapter 07 Mean-shift and Cam-shift.pptx
- 安徽工贸职业技术学院:《计算机组装与维护》课程教学资源(PPT课件讲稿)项目四 搭建微型计算机软件系统.ppt
- 《网站建设》课程教学资源(PPT课件讲稿)第五章 Javascript脚本语言.ppt
- 中央电大:《计算机组成原理》课程教学资源(PPT课件讲稿)教学辅导.ppt
- 中国科学技术大学:《并行计算 Parallel Computing》课程教学资源(PPT课件讲稿)图论补充内容.pptx
- 《编译原理》课程教学资源(PPT课件讲稿)第六章 句法结构模式识别.ppt
- 《数据库原理》课程教学资源(PPT课件讲稿)第五章 数据库的存储结构.ppt
- 清华大学出版社:《C程序设计》课程PPT教学课件(第三版)第二章 程序的灵魂——算法.ppt
- 《C语言程序设计》课程教学资源(PPT课件讲稿)第3章 最简单的C程序设计.ppt
- 香港科技大学:Overviewof the Internet of Things(IoTs,PPT课件讲稿).ppsx
- Linux操作系统使用(PPT讲稿,简明基础教程,共七章).ppt
- Linux操作系统初级培训(PPT讲稿)DSC认证培训体系.ppt
- Routing in Vehicular Ad Hoc Network(PPT课件讲稿).ppt
- 中国科学院:超级计算平台Linux初级培训(PPT讲稿,2009.11).ppt
- 《大学计算机基础》课程电子教案(PPT教学课件)第5章 多媒体技术基础.ppt
- 香港科技大学:Transaction Management、Serializability Theory and Concurrency Control、Lock-Based Protocols、Deadlock Problems、Recovery.ppt
- 沈阳理工大学:《计算机网络技术及应用》课程教学资源(PPT课件讲稿)第一章 互联网与网站 Interent & Website(主讲:廉哲).ppt
- 《计算机网络》课程教学资源(PPT讲稿)项目1 构建简单互连网络(Windows XP).ppt
- 《C语言程序设计》课程电子教案(PPT教学课件)第5章 选择控制结构.ppt
- 上海交通大学:《软件工程》课程教学资源(课件讲稿)07 测试.pdf
- 南京大学:人工智能课程概况(PPT讲稿)从图灵奖看人工智能创新性思维的发展.pdf
- 非线性编辑软件(PPT课件讲稿)Premiere Pro.pptx
- Java平台企业版(J2EE)原理(PPT讲稿).ppt
- 北京师范大学现代远程教育:《计算机应用基础》课程教学资源(PPT课件讲稿)第4章 文字处理Word.pptx
- 广东工业大学:数据挖掘(PPT讲稿).ppt
- 分布式查询处理 Distributed Query Processing(PPT讲稿)查询处理、查询分解与定位.ppt
- 多媒体技术:多媒体信息处理(Multimedia Computing)PPT讲义.ppt
- 高校数字化图书馆知识服务网络共建共享方案的建议(王明亮).ppt
- Linux操作系统下C语言编程入门(电子书).pdf
- 北京大学精品课程:浅谈软件项目管理(陈长城).pdf
- 河南中医药大学信息管理与信息系统教研室:第十四章 电子政务(刘俊娟).pptx
- 人工智能和模式识别与医学专家系统(PPT课件讲稿).ppt
- 南京大学:《面向对象技术 OOT》课程教学资源(PPT课件讲稿)引言、背景概述.ppt
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第五章 总线及其形成.ppt
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第八章 中断系统与可编程中断控制器8259A.pptx
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第六章 存储器设计.pptx
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第十章 并行接口芯片8255A应用设计.pptx