OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.11.3.f90] - Blame information for rev 324

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

Line No. Rev Author Line
1 302 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.