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.1.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 A1(N, A, B)
3
      INTEGER I, N
4
      REAL B(N), A(N)
5
!$OMP PARALLEL DO !I is private by default
6
      DO I=2,N
7
          B(I) = (A(I) + A(I-1)) / 2.0
8
      ENDDO
9
!$OMP END PARALLEL DO
10
      END SUBROUTINE A1

powered by: WebSVN 2.1.0

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