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.11.3.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 A11_3(AA, BB, CC, DD, N)
3
      INTEGER N
4
      REAL AA(N,N), BB(N,N), CC(N,N), DD(N,N)
5
      REAL R
6
        R=0
7
!$OMP PARALLEL
8
!$OMP WORKSHARE
9
             AA = BB
10
!$OMP ATOMIC
11
               R = R + SUM(AA)
12
             CC = DD
13
!$OMP END WORKSHARE
14
!$OMP END PARALLEL
15
      END SUBROUTINE A11_3

powered by: WebSVN 2.1.0

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