Skip to content

Commit 510fd1f

Browse files
committed
Merge pull request #14 from jakubjelinek/master
Fix a pasto - loop simd construct in Fortran is do simd rather than
2 parents b18b695 + 4b655aa commit 510fd1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/Example_SIMD.5f.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ subroutine work( a, b, c, n )
88
integer :: i,j,n
99
double precision :: a(n,n), b(n,n), c(n,n), tmp
1010

11-
!$omp for simd collapse(2) private(tmp)
11+
!$omp do simd collapse(2) private(tmp)
1212
do j = 1,n
1313
do i = 1,n
1414
tmp = a(i,j) + b(i,j)

0 commit comments

Comments
 (0)