Simplest example of parallel run using OpenMP

后端 未结 0 1783
醉酒成梦
醉酒成梦 2021-01-22 01:22

Consider the following code construct,

int n = 0;

  #pragma omp parallel for collapse(2)
    for (int i = 0; i < 3; i++)
      for(int j = 0; j < 3; j++)
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题