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.

C6678 OpenMP

Other Parts Discussed in Thread: SYSBIOS

您好:

我编译运行OpenMP目录下的hello例程是正常的,但是我在.cfg下面添加了

var Settings = xdc.useModule('ti.sysbios.posix.Settings');
Settings.supportsMutexPriority = true;

就只是添加了这个语句,其他不管是源文件还是.cfg文件我都没有改,运行的时候,控制台就不打印例程结果了,每个核都显示在running,请问是什么原因?

我是想在线程里面去使用OpenMP,这样可以吗?

谢谢!

  • Settings.supportsMutexPriority = true;这是干嘛的,为何还用刀了posix呢?

    openMP的问题建议发到e2e.ti.com,参考如下openMP相关问题。

    https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/597580/2204573?tisearch=e2e-quicksearch&keymatch=openMP%20supports%20Mutex%20Priority#2204573