Skip to content

Commit 6f5b23e

Browse files
author
Jeff Larkin
committed
Corrected syntax error in openacc example directives
1 parent 6589724 commit 6f5b23e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/resources/openacc_support.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ program main
4949
!$acc cache(A(:))
5050

5151
! Test all four forms of atomic
52-
!$acc atomic capture(A)
52+
!$acc atomic capture
5353
!$acc end atomic
54-
!$acc atomic update(A)
54+
!$acc atomic update
5555
!$acc end atomic
56-
!$acc atomic read(A)
56+
!$acc atomic read
5757
!$acc end atomic
58-
!$acc atomic write(A)
58+
!$acc atomic write
5959
!$acc end atomic
6060

6161
!The "do" should not highlight, if it does it's coming from OpenMP

0 commit comments

Comments
 (0)