But unlike the compiler directives used in OpenMP, Microsoft's solution is based on anonymous delegates.
不过它不像OpenMP那样,使用编译器指令标记;微软的解决方案是基于匿名委托。
The effect is shown graphically in Figure 3: a traditional program would execute the loop sequentially, whereas the OpenMP implementation creates threads to parallelize the for block.
图3中图形化地显示了其效果:传统的程序将连续地执行循环,而OpenMP实现则创建多个线程,从而并行地执行for块。
The effect is shown graphically in Figure 3: a traditional program would execute the loop sequentially, whereas the OpenMP implementation creates threads to parallelize the for block.
图3中图形化地显示了其效果:传统的程序将连续地执行循环,而OpenMP实现则创建多个线程,从而并行地执行for块。
应用推荐