Hi,

in gcc/libgomp/env.c

the ICV run-sched-var is defined as

run_sched_var = GFS_DYNAMIC

It would be more natural to define it as GFS_STATIC, since
the default schedule is also static in gomp. Is there any reason
for this decision?

Both ICVs run-sched-var and def-sched-var are implementation defined,
but differ in gomp?

Here are the quotes from the OpenMP spec 3.1:

 run-sched-var - controls the schedule that the runtime schedule
clause uses for loop regions. There is one copy of this ICV per
data environment.
( OMP_SCHEDULE, omp_get_schedule(), Implementation defined )

def-sched-var - controls the implementation defined default scheduling
of loop regions. There is one copy of this ICV for the whole program.
(  Implementation defined )

Cheers,
Andreas

Reply via email to