I have a piece of code (which is part of the application) that I am trying to optimize using OpenMP, I am trying to use various scheduling policies. In my case, I noticed that the schedule(RUNTIME) takes precedence over others (I don't specify chunk_size). I have two questions:
When I do not specify chunk_size, is there a difference between schedule(DYNAMIC) and schedule(GUIDED) ?
How does OpenMP define the standardized default scheduling that is stored in the OMP_SCHEDULE variable?
I found out that if no scheduling scheme is specified, then schedule(STATIC) used by default. Therefore, if I do not change the OMP_SCHEDULE variable and use schedule(RUNTIME) in my program, will there be a schedule(STATIC) scheduling scheme schedule(STATIC) all the time or does OpenMP have a reasonable way to dynamically develop a schedule strategy and change it from time to time?
openmp
Sayan
source share