Skip to content

Commit 7f75c5e

Browse files
committed
Also export BSR function (no matching JLArray atm)
1 parent d7491b2 commit 7f75c5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/host/sparse.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using LinearAlgebra
22
using LinearAlgebra: BlasFloat
3-
export GPUSparseMatrix, GPUSparseMatrixCSC, GPUSparseMatrixCSR, GPUSparseMatrixCOO
3+
export GPUSparseMatrix, GPUSparseMatrixCSC, GPUSparseMatrixCSR, GPUSparseMatrixCOO, GPUSparseMatrixBSR
44

55
abstract type AbstractGPUSparseArray{Tv, Ti, N} <: AbstractSparseArray{Tv, Ti, N} end
66
const AbstractGPUSparseVector{Tv, Ti} = AbstractGPUSparseArray{Tv, Ti, 1}
@@ -15,6 +15,7 @@ GPUSparseMatrix(I::AbstractGPUVector, J::AbstractGPUVector, V::AbstractGPUVector
1515
GPUSparseMatrixCOO(I::AbstractGPUVector, J::AbstractGPUVector, V::AbstractGPUVector, args...; kwargs...) = sparse(I, J, V, args...; kwargs...)
1616
function GPUSparseMatrixCSC end
1717
function GPUSparseMatrixCSR end
18+
function GPUSparseMatrixBSR end
1819

1920

2021
const AbstractGPUSparseVecOrMat = Union{AbstractGPUSparseVector,AbstractGPUSparseMatrix}

0 commit comments

Comments
 (0)