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块。
应用推荐