TI E2E Community
Digital Signal Processors (DSP)
C6000 Multicore DSP
Keystone Multicore Forum (C66, 66A, AM5)
I downloaded and installed Code Composer Studio version 5.2.0.00044 (for windows) for use with a TMS320C6678 evaluation module. It's an LE version, I believe, with a XDS560v2 emulator from Blackhawk. I've managed to get the examples running, as well as a sequential codebase I had lying around in C for CPUs. (I was surprised not to need to change a single line of code to get that working.)
However, I'm having trouble getting an OpenMP version working. In particular, the compiler version seems to be 7.3.1 and though I can add the -omp flag (it's on the project properties), there is no "omp.h" in the includes or anything else that I can see that hints at being an openmp include. And I get undefined symbol errors on the calls to get the number of threads ( omp_get_num_threads ) and the thread number ( omp_get_thread_num ) , plus the critical region pragma ( GOMP_critical_end , GOMP_critical_start , I believe ).
After looking through the forums here a bit I believe it's been announced that OpenMP support would only be offered in the upcoming 7.4.0 compiler (April 30 or so?).
Would anyone please confirm me whether my findings are correct and, if not, correct me? Also, if there is a pre-release library or something similar to enable openmp on my setup, how could I possibly get it?
Thank you for your attention.
We have the same problem here and we are waiting for the 7.4.0 compiler to be released. You can't use OpenMP right now.
A beta version of the C6000 compiler 7.4 is available here : https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/beta.htm
But I did not manage to use openMP, I still have the same problems : I can't find a "omp.h" file, and while linking, I get unresolved symbols (GOMP_... and omp_get_... ).
Should we wait until 04/30 for the release ?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.