Hi,
I have a piece of code (which is part of an application) which I'm trying to optimize using OpenMP, am trying out various scheduling policies. In my case, I noticed that the schedule(RUNTIME) clause has an edge over others (I am not specifying a chunk_size). I've two questions:
When I do not specify chunk_size, is there a difference between schedule(DYNAMIC) and schedule(GUIDED)?
How does OpenMP determine the default implementation specific scheduling that is stored in the OMP_SCHEDULE variable?
I learned that if no scheduling scheme is specified, then by default schedule(STATIC) is used. So if I don't modify the OMP_SCHEDULE variable, and use schedule(RUNTIME) in my program, would the scheduling scheme be schedule(STATIC) all the times OR OpenMP has some intelligent way to dynamically devise the schedule strategy and change it from time to time?
Thanks,
Sayan