mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-08 05:54:40 +00:00
17 lines
536 B
Fortran
17 lines
536 B
Fortran
! { dg-do run }
|
|
|
|
program lib4
|
|
use omp_lib
|
|
integer (omp_sched_kind) :: kind
|
|
integer :: modifier
|
|
call omp_set_schedule (omp_sched_static, 32)
|
|
call omp_get_schedule (kind, modifier)
|
|
if (kind.ne.omp_sched_static.or.modifier.ne.32) STOP 1
|
|
call omp_set_schedule (omp_sched_dynamic, 4)
|
|
call omp_get_schedule (kind, modifier)
|
|
if (kind.ne.omp_sched_dynamic.or.modifier.ne.4) STOP 2
|
|
if (omp_get_thread_limit ().lt.0) STOP 3
|
|
call omp_set_max_active_levels (6)
|
|
if (omp_get_max_active_levels ().ne.6) STOP 4
|
|
end program lib4
|