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 support for C66x devices



Dear forum,

Is OpenMP available for the c66x (c6678 etc) devices? If so can you point me towards examples / documentation?

I notice this document : http://www.ti.com/lit/ml/sprt618/sprt618.pdf suggests OpenMP support is available. There is also an  'Enable support for OpenMP 3.0' option for the compiler (on CCS  5.1.0.08020 but not 5.0 (?) ) under optimisations.

However, I can't see any OpenMP related files, for example omp.h or libraries, in the install directories. Also, if I try to build a simple example (with OpenMP enabled) it compiles but the link fails with this message :

 undefined           first referenced

  symbol                 in file     

 ---------           ----------------

 GOMP_parallel_end   ./hello.obj     

 GOMP_parallel_start ./hello.obj     

 omp_get_num_threads ./hello.obj     

 omp_get_thread_num  ./hello.obj  

So I assume some libraries are missing. This would be a very useful feature, even if a beta / pre-release OpenMP implementation exists.

Thanks in advance,

Simon