Hi TI folks,
I am using CCS v5.2.1.18. MCSDK is 2-1-2-5 and video mscsdk is 2.1.0.8. I am running the H264 HP encoder as baseline. I am trying to run multiple test cases of the encoder application. I do that by specifying the different test cases configuration files in the text file testcases.txt.
Each of my test cases changes the number of cores I want to run over.
For example, I want to encode a particular data file using 1, 2, 3…up to 8 cores so I put 8 lines in the testcases.txt with each line making use of its own encoder config file. What I am finding is that after it runs one test case, I am not able to run another test case to completion. It just ends up spinning on barrier 5 as some of the threads have not reached that barrier. This has to do with the fact that I am changing the number of cores in each test case. So for example in my first test case, I have 8 cores running and then in the second case I have 7 cores to do the processing but actually it would appear that the “ShmemTab” is initialised on all cores and not one less core as I would expect. Can you help? I just want to have one less core running after I complete the first test case as the second test case has one less core so it would then not be waiting on the barrier I would think. The same issue happens if I change the order and increase the number of cores for each test case so for example the first test case uses 1 core, second uses 2 and so on.
Any insight please.
Thanks, Aamir