Skip to content

Commit

Permalink
Merge pull request Reference-LAPACK#380 from martin-frbg/openmp4
Browse files Browse the repository at this point in the history
Allow compilation with OpenMP 3.x
  • Loading branch information
langou authored Apr 15, 2021
2 parents f97e867 + 3e5c803 commit 2614d23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SRC/chetrd_hb2st.F
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ SUBROUTINE CHETRD_HB2ST( STAGE1, VECT, UPLO, N, KD, AB, LDAB,
*
* Call the kernel
*
#if defined(_OPENMP)
#if defined(_OPENMP) && _OPENMP >= 201307
IF( TTYPE.NE.1 ) THEN
!$OMP TASK DEPEND(in:WORK(MYID+SHIFT-1))
!$OMP$ DEPEND(in:WORK(MYID-1))
Expand Down
2 changes: 1 addition & 1 deletion SRC/dsytrd_sb2st.F
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ SUBROUTINE DSYTRD_SB2ST( STAGE1, VECT, UPLO, N, KD, AB, LDAB,
*
* Call the kernel
*
#if defined(_OPENMP)
#if defined(_OPENMP) && _OPENMP >= 201307
IF( TTYPE.NE.1 ) THEN
!$OMP TASK DEPEND(in:WORK(MYID+SHIFT-1))
!$OMP$ DEPEND(in:WORK(MYID-1))
Expand Down
2 changes: 1 addition & 1 deletion SRC/ssytrd_sb2st.F
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ SUBROUTINE SSYTRD_SB2ST( STAGE1, VECT, UPLO, N, KD, AB, LDAB,
*
* Call the kernel
*
#if defined(_OPENMP)
#if defined(_OPENMP) && _OPENMP >= 201307
IF( TTYPE.NE.1 ) THEN
!$OMP TASK DEPEND(in:WORK(MYID+SHIFT-1))
!$OMP$ DEPEND(in:WORK(MYID-1))
Expand Down
3 changes: 2 additions & 1 deletion SRC/zhetrd_hb2st.F
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,8 @@ SUBROUTINE ZHETRD_HB2ST( STAGE1, VECT, UPLO, N, KD, AB, LDAB,
*
* Call the kernel
*
#if defined(_OPENMP)
#if defined(_OPENMP) && _OPENMP >= 201307

IF( TTYPE.NE.1 ) THEN
!$OMP TASK DEPEND(in:WORK(MYID+SHIFT-1))
!$OMP$ DEPEND(in:WORK(MYID-1))
Expand Down

0 comments on commit 2614d23

Please sign in to comment.