Skip to content

Commit 32018f2

Browse files
authored
Merge pull request #826 from perazz/no_pure_openmp
linalg: remove `pure` attr from procedures using `openmp` runtime
2 parents 5fd9924 + 75612cb commit 32018f2

8 files changed

+23
-23
lines changed

src/stdlib_linalg_lapack.fypp

+9-9
Original file line numberDiff line numberDiff line change
@@ -5261,7 +5261,7 @@ module stdlib_linalg_lapack
52615261
!! HB2ST_KERNELS is an internal routine used by the CHETRD_HB2ST
52625262
!! subroutine.
52635263
#ifdef STDLIB_EXTERNAL_LAPACK
5264-
pure subroutine chb2st_kernels( uplo, wantz, ttype,st, ed, sweep, n, nb, ib,a, &
5264+
pure subroutine chb2st_kernels( uplo, wantz, ttype,st, ed, sweep, n, nb, ib,a, &
52655265
lda, v, tau, ldvt, work)
52665266
import sp,dp,qp,ilp,lk
52675267
implicit none(type,external)
@@ -6394,7 +6394,7 @@ module stdlib_linalg_lapack
63946394
!! tridiagonal form T by a unitary similarity transformation:
63956395
!! Q**H * A * Q = T.
63966396
#ifdef STDLIB_EXTERNAL_LAPACK
6397-
pure subroutine chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
6397+
subroutine chetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
63986398
lhous, work, lwork, info )
63996399
import sp,dp,qp,ilp,lk
64006400
implicit none(type,external)
@@ -6412,7 +6412,7 @@ module stdlib_linalg_lapack
64126412
module procedure stdlib_whetrd_hb2st
64136413
#:endif
64146414
#ifdef STDLIB_EXTERNAL_LAPACK
6415-
pure subroutine zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
6415+
subroutine zhetrd_hb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
64166416
lhous, work, lwork, info )
64176417
import sp,dp,qp,ilp,lk
64186418
implicit none(type,external)
@@ -6435,7 +6435,7 @@ module stdlib_linalg_lapack
64356435
!! band-diagonal form AB by a unitary similarity transformation:
64366436
!! Q**H * A * Q = AB.
64376437
#ifdef STDLIB_EXTERNAL_LAPACK
6438-
pure subroutine chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
6438+
subroutine chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
64396439
)
64406440
import sp,dp,qp,ilp,lk
64416441
implicit none(type,external)
@@ -6452,7 +6452,7 @@ module stdlib_linalg_lapack
64526452
module procedure stdlib_whetrd_he2hb
64536453
#:endif
64546454
#ifdef STDLIB_EXTERNAL_LAPACK
6455-
pure subroutine zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
6455+
subroutine zhetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
64566456
)
64576457
import sp,dp,qp,ilp,lk
64586458
implicit none(type,external)
@@ -24182,7 +24182,7 @@ module stdlib_linalg_lapack
2418224182
!! tridiagonal form T by a orthogonal similarity transformation:
2418324183
!! Q**T * A * Q = T.
2418424184
#ifdef STDLIB_EXTERNAL_LAPACK
24185-
pure subroutine dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
24185+
subroutine dsytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
2418624186
lhous, work, lwork, info )
2418724187
import sp,dp,qp,ilp,lk
2418824188
implicit none(type,external)
@@ -24199,7 +24199,7 @@ module stdlib_linalg_lapack
2419924199
module procedure stdlib_qsytrd_sb2st
2420024200
#:endif
2420124201
#ifdef STDLIB_EXTERNAL_LAPACK
24202-
pure subroutine ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
24202+
subroutine ssytrd_sb2st( stage1, vect, uplo, n, kd, ab, ldab,d, e, hous, &
2420324203
lhous, work, lwork, info )
2420424204
import sp,dp,qp,ilp,lk
2420524205
implicit none(type,external)
@@ -24221,7 +24221,7 @@ module stdlib_linalg_lapack
2422124221
!! band-diagonal form AB by a orthogonal similarity transformation:
2422224222
!! Q**T * A * Q = AB.
2422324223
#ifdef STDLIB_EXTERNAL_LAPACK
24224-
pure subroutine dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
24224+
subroutine dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
2422524225
)
2422624226
import sp,dp,qp,ilp,lk
2422724227
implicit none(type,external)
@@ -24238,7 +24238,7 @@ module stdlib_linalg_lapack
2423824238
module procedure stdlib_qsytrd_sy2sb
2423924239
#:endif
2424024240
#ifdef STDLIB_EXTERNAL_LAPACK
24241-
pure subroutine ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
24241+
subroutine ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info &
2424224242
)
2424324243
import sp,dp,qp,ilp,lk
2424424244
implicit none(type,external)

src/stdlib_linalg_lapack_aux.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ module stdlib_linalg_lapack_aux
17081708
end function stdlib_ilaenv
17091709

17101710

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

18941894

1895-
pure integer(ilp) function stdlib_ilaenv2stage( ispec, name, opts, n1, n2, n3, n4 )
1895+
integer(ilp) function stdlib_ilaenv2stage( ispec, name, opts, n1, n2, n3, n4 )
18961896
!! ILAENV2STAGE is called from the LAPACK routines to choose problem-dependent
18971897
!! parameters for the local environment. See ISPEC for a description of
18981898
!! the parameters.

src/stdlib_linalg_lapack_c.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -36212,7 +36212,7 @@ module stdlib_linalg_lapack_c
3621236212
end subroutine stdlib_chetrd
3621336213

3621436214

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

3648736487

36488-
pure subroutine stdlib_chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
36488+
subroutine stdlib_chetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
3648936489
!! CHETRD_HE2HB reduces a complex Hermitian matrix A to complex Hermitian
3649036490
!! band-diagonal form AB by a unitary similarity transformation:
3649136491
!! Q**H * A * Q = AB.

src/stdlib_linalg_lapack_d.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -41285,7 +41285,7 @@ module stdlib_linalg_lapack_d
4128541285
end subroutine stdlib_dsytrd
4128641286

4128741287

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

5707257072

57073-
pure subroutine stdlib_dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
57073+
subroutine stdlib_dsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
5707457074
!! DSYTRD_SY2SB reduces a real symmetric matrix A to real symmetric
5707557075
!! band-diagonal form AB by a orthogonal similarity transformation:
5707657076
!! Q**T * A * Q = AB.

src/stdlib_linalg_lapack_q.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -72649,7 +72649,7 @@ module stdlib_linalg_lapack_q
7264972649
end subroutine stdlib_qsytrd
7265072650

7265172651

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

7289772897

72898-
pure subroutine stdlib_qsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
72898+
subroutine stdlib_qsytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
7289972899
!! DSYTRD_SY2SB: reduces a real symmetric matrix A to real symmetric
7290072900
!! band-diagonal form AB by a orthogonal similarity transformation:
7290172901
!! Q**T * A * Q = AB.

src/stdlib_linalg_lapack_s.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -41195,7 +41195,7 @@ module stdlib_linalg_lapack_s
4119541195
end subroutine stdlib_ssytrd
4119641196

4119741197

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

5554755547

55548-
pure subroutine stdlib_ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
55548+
subroutine stdlib_ssytrd_sy2sb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
5554955549
!! SSYTRD_SY2SB reduces a real symmetric matrix A to real symmetric
5555055550
!! band-diagonal form AB by a orthogonal similarity transformation:
5555155551
!! Q**T * A * Q = AB.

src/stdlib_linalg_lapack_w.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -28573,7 +28573,7 @@ module stdlib_linalg_lapack_w
2857328573
end subroutine stdlib_whetrd
2857428574

2857528575

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

2884828848

28849-
pure subroutine stdlib_whetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
28849+
subroutine stdlib_whetrd_he2hb( uplo, n, kd, a, lda, ab, ldab, tau,work, lwork, info )
2885028850
!! ZHETRD_HE2HB: reduces a complex Hermitian matrix A to complex Hermitian
2885128851
!! band-diagonal form AB by a unitary similarity transformation:
2885228852
!! Q**H * A * Q = AB.

src/stdlib_linalg_lapack_z.fypp

+2-2
Original file line numberDiff line numberDiff line change
@@ -36627,7 +36627,7 @@ module stdlib_linalg_lapack_z
3662736627
end subroutine stdlib_zhetrd
3662836628

3662936629

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

3690236902

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

0 commit comments

Comments
 (0)