Hello,
I am working with a C6678 EVM and I want to parallelize a simple FIR-filter using OpenMP. Therefore I have defined two data arrays where the input and output samples should be stored in. In case of "large" arrays (10 000 or more entries) the following error message appears as soon as the parallel region is entered:
[C66xx_0] ti.sysbios.knl.Task: line 340: E_spOutOfBounds: Task 0x90003c80 stack error, SP = 0x8f956b28.
xdc.runtime.Error.raise: terminating execution
In case of smaller arrays everything works fine.
I guess this error has something to do with stack being too small, so I tried to increase the stack size in my linker.cmd file to 300 000 (-stack 0x493e0) and also I tried increasing the stack size of the OpenMP module to 1 000 000 and put the OpenMP stack into shared region 2 which is DDR3 by adding the following statements to my omp_config.cfg file:
OpenMP.stackSize = 1000000;
OpenMP.stackRegionId = 2;
But still the same error message appears.
The platform file I am using is ti.omp.examples.platforms.evm6678.
Thanks for your help!
Best regards,
Erik