要理解并行编程,首先要从并行的理解开始。
(1)从Wiki中并行编程的解释说起
Wiki是个好东西,包含了很多专业术语的解释,关键的是,除了解释,wiki还是一个好文档。
Paralle Programming(并行编程/并行计算)Wiki:http://en.wikipedia.org/wiki/Parallel_programming
Parallel computing is a form of computation in which many calculations are carried out simultaneously,[1] operating on the principle that large problems can often be divided into smaller ones, which are then solved concurrently ("in parallel"). There are several different forms of parallel computing: bit-level, instruction level, data, and task parallelism. Parallelism has been employed for many years, mainly in high-performance computing.
这里要讨论的就是上面的这句话中加粗的部分的内容。要理解好并行编程,首先需要理解并行编程的形式。并行编程的形式包括:
bit-level p