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.

Compiler/TDA2EVM5777: openmp parallel support with ti arm compiler

Part Number: TDA2EVM5777

Tool/software: TI C/C++ Compiler

Hi,

I am bit confused on using openmp for parallalization on TDA2XX vision SDK board.

I am using vision SDK where codes for different cores like A15, M4, dsp etc are compiled with different toolchain.

For A15 it is gcc arm, and for M4 it is TI arm toolchain.

I am able to compile test program which uses pragma omp parallel with gcc arm but same not possible with TI arm toolchain.

I am getting unrecognized pragma error.

Is it at all supported? Do I need to pass any flag to enable support using TI arm?

Test procedure:

 

  • Copy attached test file to <TI ARM Toolchain root>/bin
  • execute this command from <TI ARM Toolchain root>/bin: ./armcl.exe -c openmp_test.cpp -I ../include/

openmp_test.cpp