并行算法2-Introduction to High Performance Computing Something 高性能计算导论

The serial RAM model.串行内存模型

There is a single serial processor connected to memory. This processor issues instructions that operate on data. The operands of these instructions always live in memory.
When you analyze the cost of a serial RAM algorithm, you assume that all instructions have a cost that is bounded by some constant. Now from thar starting point,you do a big O style analysis in terms of the input size. So,that is the serial ram model.

有一个单一的串行处理器连接到内存,这个处理器发出操作数据的指令,这些指令的操作数总是存储在内存中.
当你分析一个串行RAM算法的cost时,假设所有指令的成本都是有限的常数级。现在从这个起点开始,针对输入大小进行一个大O分析。这就是串行内存模型。
在这里插入图片描述
在这里插入图片描述

What are the alternatives to the serial RAM model?串行RAM模型的替代方案是什么?

The parallel RAM or PRAM model. 并行RAM或PRAM模型.

Instead of one processor,there may be many.They all see the same memory,and you still assume a bounded constant cost per operation. But you get to work with more than one processor.
有多个处理器,它们都看到相同的内存,但仍然假设每个操作的固定cost是有限的常数级,但可以使用多个处理器一起工作。
在这里插入图片描述
And since the processors all see the same memory, they can coordinate and communicate by modifying shared variables.
由于处理器都看到相同的内存,所以它们可以通过修改共享变量来进行协调和通信。
Now in this model,your algorithmic analysis will involve big O as before.but you will try to reduce the total cost by up to a factor of P.
在这个模型中,你的算法分析会像以前一样涉及到大O,但要试着将cos降低P倍.
在这里插入图片描述

Introduction to High-Performance Scientific Computing,第二版,2014 This text evolved from a new curriculum in scientific computing that was developed to teach undergraduate science and engineering majors how to use high-performance computing systems (supercomputers) in scientific and engineering applications.Designed for undergraduates, An Introduction to High-Performance Scientific Computing assumes a basic knowledge of numerical computation and proficiency in Fortran or C programming and can be used in any science, computer science, applied mathematics, or engineering department or by practicing scientists and engineers, especially those associated with one of the national laboratories or supercomputer centers.The authors begin with a survey of scientific computing and then provide a review of background (numerical analysis, IEEE arithmetic, Unix, Fortran) and tools (elements of MATLAB, IDL, AVS). Next, full coverage is given to scientific visualization and to the architectures (scientific workstations and vector and parallel supercomputers) and performance evaluation needed to solve large-scale problems. The concluding section on applications includes three problems (molecular dynamics, advection, and computerized tomography) that illustrate the challenge of solving problems on a variety of computer architectures as well as the suitability of a particular architecture to solving a particular problem.Finally, since this can only be a hands-on course with extensive programming and experimentation with a variety of architectures and programming paradigms, the authors have provided a laboratory manual and supporting software via anonymous ftp.Scientific and Engineering Computation series
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值