Skip to content

Commit

Permalink
Update helpers.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Dec 12, 2024
1 parent 8492411 commit c539c4d
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 @@ -123,7 +123,7 @@ mutable struct CudssMatrix{T}
nrows = [size(Aᵢ,1) for Aᵢ in A]
ncols = [size(Aᵢ,2) for Aᵢ in A]
nnzA = [nnz(Aᵢ) for Aᵢ in A]
rowsPtrs = [pointer(Aᵢ.rowPtr) for Aᵢ in A] |> CuVector
rowPtrs = [pointer(Aᵢ.rowPtr) for Aᵢ in A] |> CuVector
colVals = [pointer(Aᵢ.colVal) for Aᵢ in A] |> CuVector
nzVals = [pointer(Aᵢ.nzVal) for Aᵢ in A] |> CuVector
cudssMatrixCreateBatchCsr(matrix_ref, nbatch, nrows, ncols, nnzA, rowPtrs,
Expand Down

0 comments on commit c539c4d

Please sign in to comment.