Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linalg: remove pure attr from procedures using openmp runtime #826

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/stdlib_linalg_lapack.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -5261,7 +5261,7 @@ module stdlib_linalg_lapack
!! HB2ST_KERNELS is an internal routine used by the CHETRD_HB2ST
!! subroutine.
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine chb2st_kernels( uplo, wantz, ttype,st, ed, sweep, n, nb, ib,a, &
pure subroutine chb2st_kernels( uplo, wantz, ttype,st, ed, sweep, n, nb, ib,a, &
lda, v, tau, ldvt, work)
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand Down Expand Up @@ -6394,7 +6394,7 @@ module stdlib_linalg_lapack
!! tridiagonal form T by a unitary similarity transformation:
!! Q**H * A * Q = T.
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
subroutine chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
lhous, work, lwork, info )
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -6412,7 +6412,7 @@ module stdlib_linalg_lapack
module procedure stdlib_whetrd_hb2st
#:endif
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
subroutine zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
lhous, work, lwork, info )
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -6435,7 +6435,7 @@ module stdlib_linalg_lapack
!! band-diagonal form AB by a unitary similarity transformation:
!! Q**H * A * Q = AB.
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
subroutine chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
)
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -6452,7 +6452,7 @@ module stdlib_linalg_lapack
module procedure stdlib_whetrd_he2hb
#:endif
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
subroutine zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
)
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand Down Expand Up @@ -24182,7 +24182,7 @@ module stdlib_linalg_lapack
!! tridiagonal form T by a orthogonal similarity transformation:
!! Q**T * A * Q = T.
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
subroutine dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
lhous, work, lwork, info )
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -24199,7 +24199,7 @@ module stdlib_linalg_lapack
module procedure stdlib_qsytrd_sb2st
#:endif
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
subroutine ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
lhous, work, lwork, info )
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -24221,7 +24221,7 @@ module stdlib_linalg_lapack
!! band-diagonal form AB by a orthogonal similarity transformation:
!! Q**T * A * Q = AB.
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
subroutine dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
)
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand All @@ -24238,7 +24238,7 @@ module stdlib_linalg_lapack
module procedure stdlib_qsytrd_sy2sb
#:endif
#ifdef STDLIB_EXTERNAL_LAPACK
pure subroutine ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
subroutine ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
)
import sp,dp,qp,ilp,lk
implicit none(type,external)
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_aux.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@ module stdlib_linalg_lapack_aux
end function stdlib_ilaenv


pure integer(ilp) function stdlib_iparam2stage( ispec, name, opts,ni, nbi, ibi, nxi )
integer(ilp) function stdlib_iparam2stage( ispec, name, opts,ni, nbi, ibi, nxi )
!! This program sets problem and machine dependent parameters
!! useful for xHETRD_2STAGE, xHETRD_HE2HB, xHETRD_HB2ST,
!! xGEBRD_2STAGE, xGEBRD_GE2GB, xGEBRD_GB2BD
Expand Down Expand Up @@ -1892,7 +1892,7 @@ module stdlib_linalg_lapack_aux
end function stdlib_iparam2stage


pure integer(ilp) function stdlib_ilaenv2stage( ispec, name, opts, n1, n2, n3, n4 )
integer(ilp) function stdlib_ilaenv2stage( ispec, name, opts, n1, n2, n3, n4 )
!! ILAENV2STAGE is called from the LAPACK routines to choose problem-dependent
!! parameters for the local environment. See ISPEC for a description of
!! the parameters.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_c.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -36212,7 +36212,7 @@ module stdlib_linalg_lapack_c
end subroutine stdlib_chetrd


pure subroutine stdlib_chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! CHETRD_HB2ST reduces a complex Hermitian band matrix A to real symmetric
!! tridiagonal form T by a unitary similarity transformation:
!! Q**H * A * Q = T.
Expand Down Expand Up @@ -36485,7 +36485,7 @@ module stdlib_linalg_lapack_c
end subroutine stdlib_chetrd_hb2st


pure subroutine stdlib_chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! CHETRD_HE2HB reduces a complex Hermitian matrix A to complex Hermitian
!! band-diagonal form AB by a unitary similarity transformation:
!! Q**H * A * Q = AB.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_d.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -41285,7 +41285,7 @@ module stdlib_linalg_lapack_d
end subroutine stdlib_dsytrd


pure subroutine stdlib_dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! DSYTRD_SB2ST reduces a real symmetric band matrix A to real symmetric
!! tridiagonal form T by a orthogonal similarity transformation:
!! Q**T * A * Q = T.
Expand Down Expand Up @@ -57070,7 +57070,7 @@ module stdlib_linalg_lapack_d
end subroutine stdlib_dsysvx


pure subroutine stdlib_dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! DSYTRD_SY2SB reduces a real symmetric matrix A to real symmetric
!! band-diagonal form AB by a orthogonal similarity transformation:
!! Q**T * A * Q = AB.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_q.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -72649,7 +72649,7 @@ module stdlib_linalg_lapack_q
end subroutine stdlib_qsytrd


pure subroutine stdlib_qsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_qsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! DSYTRD_SB2ST: reduces a real symmetric band matrix A to real symmetric
!! tridiagonal form T by a orthogonal similarity transformation:
!! Q**T * A * Q = T.
Expand Down Expand Up @@ -72895,7 +72895,7 @@ module stdlib_linalg_lapack_q
end subroutine stdlib_qsytrd_sb2st


pure subroutine stdlib_qsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_qsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! DSYTRD_SY2SB: reduces a real symmetric matrix A to real symmetric
!! band-diagonal form AB by a orthogonal similarity transformation:
!! Q**T * A * Q = AB.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_s.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -41195,7 +41195,7 @@ module stdlib_linalg_lapack_s
end subroutine stdlib_ssytrd


pure subroutine stdlib_ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! SSYTRD_SB2ST reduces a real symmetric band matrix A to real symmetric
!! tridiagonal form T by a orthogonal similarity transformation:
!! Q**T * A * Q = T.
Expand Down Expand Up @@ -55545,7 +55545,7 @@ module stdlib_linalg_lapack_s
end subroutine stdlib_ssysvx


pure subroutine stdlib_ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! SSYTRD_SY2SB reduces a real symmetric matrix A to real symmetric
!! band-diagonal form AB by a orthogonal similarity transformation:
!! Q**T * A * Q = AB.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_w.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -28573,7 +28573,7 @@ module stdlib_linalg_lapack_w
end subroutine stdlib_whetrd


pure subroutine stdlib_whetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_whetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! ZHETRD_HB2ST: reduces a complex Hermitian band matrix A to real symmetric
!! tridiagonal form T by a unitary similarity transformation:
!! Q**H * A * Q = T.
Expand Down Expand Up @@ -28846,7 +28846,7 @@ module stdlib_linalg_lapack_w
end subroutine stdlib_whetrd_hb2st


pure subroutine stdlib_whetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_whetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! ZHETRD_HE2HB: reduces a complex Hermitian matrix A to complex Hermitian
!! band-diagonal form AB by a unitary similarity transformation:
!! Q**H * A * Q = AB.
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib_linalg_lapack_z.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -36627,7 +36627,7 @@ module stdlib_linalg_lapack_z
end subroutine stdlib_zhetrd


pure subroutine stdlib_zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
subroutine stdlib_zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, lhous, &
!! ZHETRD_HB2ST reduces a complex Hermitian band matrix A to real symmetric
!! tridiagonal form T by a unitary similarity transformation:
!! Q**H * A * Q = T.
Expand Down Expand Up @@ -36900,7 +36900,7 @@ module stdlib_linalg_lapack_z
end subroutine stdlib_zhetrd_hb2st


pure subroutine stdlib_zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
subroutine stdlib_zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
!! ZHETRD_HE2HB reduces a complex Hermitian matrix A to complex Hermitian
!! band-diagonal form AB by a unitary similarity transformation:
!! Q**H * A * Q = AB.
Expand Down
Loading