Skip to content

Commit

Permalink
Add a generic API
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Dec 8, 2023
1 parent 1a81699 commit 9966085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mutable struct CudssMatrix{T}
type::Type{T}
matrix::cudssMatrix_t

function CudssMatrix(::Type{T}, n::Integer) where where T <: BlasFloat
function CudssMatrix(::Type{T}, n::Integer) where T <: BlasFloat
matrix_ref = Ref{cudssMatrix_t}()
cudssMatrixCreateDn(matrix_ref, n, 1, n, CU_NULL, T, 'C')
obj = new{T}(T, matrix_ref[])
Expand Down

0 comments on commit 9966085

Please sign in to comment.