Skip to content

Commit 9e91af3

Browse files
committed
Enabled xdp and qp for spmv kernels.
1 parent c9d2531 commit 9e91af3

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/stdlib_specialmatrices.fypp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ module stdlib_specialmatrices
115115
!! for the different matrix types defined by `stdlib_specialmatrices`.
116116
#:for k1, t1, s1 in (KINDS_TYPES)
117117
#:for rank in RANKS
118-
#:if k1 != "qp" and k1 != "xdp"
119118
module subroutine spmv_tridiag_${rank}$d_${s1}$(A, x, y, alpha, beta, op)
120119
type(Tridiagonal_${s1}$_type), intent(in) :: A
121120
${t1}$, intent(in), contiguous, target :: x${ranksuffix(rank)}$
@@ -124,7 +123,6 @@ module stdlib_specialmatrices
124123
real(${k1}$), intent(in), optional :: beta
125124
character(1), intent(in), optional :: op
126125
end subroutine
127-
#:endif
128126
#:endfor
129127
#:endfor
130128
end interface

src/stdlib_specialmatrices_tridiagonal.fypp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ submodule (stdlib_specialmatrices) tridiagonal_matrices
6666
!! spmv_tridiag
6767
#:for k1, t1, s1 in (KINDS_TYPES)
6868
#:for rank in RANKS
69-
#:if k1 != "qp" and k1 != "xdp"
7069
module subroutine spmv_tridiag_${rank}$d_${s1}$(A, x, y, alpha, beta, op)
7170
type(Tridiagonal_${s1}$_type), intent(in) :: A
7271
${t1}$, intent(in), contiguous, target :: x${ranksuffix(rank)}$
@@ -100,7 +99,6 @@ submodule (stdlib_specialmatrices) tridiagonal_matrices
10099
call lagtm(op_, n, nrhs, alpha_, A%dl, A%dv, A%du, x, ldx, beta_, y, ldy)
101100
#:endif
102101
end subroutine
103-
#:endif
104102
#:endfor
105103
#:endfor
106104

test/linalg/test_linalg_specialmatrices.fypp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ contains
2727
!> Error handling
2828
type(error_type), allocatable, intent(out) :: error
2929
#:for k1, t1, s1 in (KINDS_TYPES)
30-
#:if k1 != "qp" and k1 != "xdp"
3130
block
3231
integer, parameter :: wp = ${k1}$
3332
integer, parameter :: n = 5
@@ -64,7 +63,6 @@ contains
6463
if (allocated(error)) return
6564
#:endif
6665
end block
67-
#:endif
6866
#:endfor
6967
end subroutine
7068

0 commit comments

Comments
 (0)