About Microsoft. The parallel Computing framework introduced by NET4.0 is not yet well understood.
Interested students can refer to the next http://bitfan.blog.51cto.com/907048/200199 series blog
But publish a personal opinion. The parallel extensions introduced in Microsoft. NET 4.0, including task parallel libraries TPL and PLINQ, are based on CPUs.
From the application field, the CPU is good at dealing with irregular data structures, recursive algorithms, branching-intensive code, and single-threaded routines. This kind of program task has the complicated instruction scheduling, the loop, the branch, the logic judgment and the execution and so on steps. For example, the operating system, word processing, and so on, while the GPU is adept at processing rule data structures. For example, shadow processing, game imaging and so on. From a micro-architecture perspective, CPU and GPU do not seem to follow the same design ideas, the current micro-architecture of the CPU is based on the consideration of "instruction parallel Execution" and "data parallel operation" of the idea is designed to take into account the program execution and data operations parallelism, versatility and their balance. The micro-architecture of GPU is designed for the numerical calculation of matrix type, which is a large number of iterative design of computational units, which can be divided into many independent numerical calculations-a large number of numerical operations of the thread, and the data is not like the logic of the implementation of the logical correlation.
However, after all, Microsoft's things to promote easy to start development convenience hehe.
To add, simple theory of calculation,. NET 4.0 performance is certainly not as good as Cuda, but Cuda based on the GPU and video memory, in the traditional business system is not very usability, used as the bottom of the support module is fine, as to how to choose the best solution to see the project's actual environment and needs.
The bug that cnblogs stay up late
Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/extra/