I am writing an OpenMP code with bare-metal mode configuration using OpenMP runtime 2.x.
There are two kinds of stacks in the code.
One is "program.stack = 0x10000;" in the .cfg file and
the other is " __TI_omp_config_thread_stack(1, 0x20000);" in the C file.
How do the two stacks differ? What are the respective roles of the stacks?