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.

求教openMP改变核数问题



求教,使用openMP例程改写的矩阵乘法

原例程只用了4个核,我用的6678,想改成8个核

在cfg文件里将核数改成8.如下

var OpenMP = xdc.useModule('ti.omp.utils.OpenMP');

OpenMP.setNumProcessors(8);

可是在硬件仿真的时候,不会连接4~7核,手工连接上也不会执行openMP调度程序。

求教,还需要在哪里设置?

另外,我的程序跑的一半的时候,某个核会退出调度,再次点击运行才能接着进行运算,直到程序结束,

请问这是怎么回事?