OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [lib4.f90] - Blame information for rev 857

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 735 jeremybenn
! { dg-do run }
2
 
3
program lib4
4
  use omp_lib
5
  integer (omp_sched_kind) :: kind
6
  integer :: modifier
7
  call omp_set_schedule (omp_sched_static, 32)
8
  call omp_get_schedule (kind, modifier)
9
  if (kind.ne.omp_sched_static.or.modifier.ne.32) call abort
10
  call omp_set_schedule (omp_sched_dynamic, 4)
11
  call omp_get_schedule (kind, modifier)
12
  if (kind.ne.omp_sched_dynamic.or.modifier.ne.4) call abort
13
  if (omp_get_thread_limit ().lt.0) call abort
14
  call omp_set_max_active_levels (6)
15
  if (omp_get_max_active_levels ().ne.6) call abort
16
end program lib4

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.