并行计算机分类

Flynn's classic taxonomy

1966年被提出,从处理器/cpu/计算核心角度分类:计算依赖instruction指令和数据,据此分成四类:

单指令单数据,单指令多数据,多指令单数据,多指令多数据

单指令单数据:一个时钟周期执行一个指令;最早期的电脑

单指令多数据:任何时钟周期,处理单元执行相同的指令。GPU和向量处理器x86 avx指令。现在这种处理器很常见。

多指令单数据:only experiment by CMU in 1971, could be used for fault tolerance.

多指令多数据:每个处理器执行不同的指令流,不同的数据流。

Memory based classification

Shared memory 1 vs distributed memory 2

1.1 Uniform memory access

1.2 Non-uniform memory access

linking two or more smp, memory access across link is slower。

2 distributed memory; cluster, supercomputer, data center. Require a communication network to connect inter-processor memory. Programmer or programming tools are responsible to explicitly define how and when data is communicated between processors.

编程模型分类

并行编程模型是硬件和内存架构之上的抽象。cuda的抽象相对low level,openmp则相对高级。

FLOPS: floating-point operations per second, vs millions of instructions per second MIPS.

HPL benchmark: a parallel implementation of Linpack library, to solve linear matrix equation Ax = b.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值