This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6678 openmp

在6678平台下使用openmp有以下疑问,
如图是CCS创建的例程


1、若想运行在8个核中,8个核是否要记载相同的该程序?
2、若8个核都加载该程序,是不是意味着8个核都执行了omp_set_num_threads(NTHREADS);语句?
3、如要openmp中串行代码各核代码有不同之处,是否是用DNUM区分各核应该执行的代码?