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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.8.1.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
      SUBROUTINE A8(N, M, A, B, Y, Z)
3
         INTEGER N, M
4
         REAL A(*), B(*), Y(*), Z(*)
5
         INTEGER I
6
!$OMP PARALLEL
7
!$OMP DO
8
         DO I=2,N
9
           B(I) = (A(I) + A(I-1)) / 2.0
10
         ENDDO
11
!$OMP END DO NOWAIT
12
!$OMP DO
13
         DO I=1,M
14
           Y(I) = SQRT(Z(I))
15
         ENDDO
16
!$OMP END DO NOWAIT
17
!$OMP END PARALLEL
18
      END SUBROUTINE A8

powered by: WebSVN 2.1.0

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