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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [appendix-a/] [a.21.1.f90] - Rev 273

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

! { dg-do compile }
      SUBROUTINE WORK(K)
        INTEGER k
!$OMP ORDERED
        WRITE(*,*) K
!$OMP END ORDERED
      END SUBROUTINE WORK
      SUBROUTINE SUBA21(LB, UB, STRIDE)
        INTEGER LB, UB, STRIDE
        INTEGER I
!$OMP PARALLEL DO ORDERED SCHEDULE(DYNAMIC)
        DO I=LB,UB,STRIDE
          CALL WORK(I)
        END DO
!$OMP END PARALLEL DO
      END SUBROUTINE SUBA21
      PROGRAM A21
        CALL SUBA21(1,100,5)
      END PROGRAM A21

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

powered by: WebSVN 2.1.0

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