From c539c4dc20e1419b54d546c0592ac9896152819d Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Thu, 12 Dec 2024 14:12:39 -0600 Subject: [PATCH] Update helpers.jl --- src/helpers.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.jl b/src/helpers.jl index 72c0e3e..e3f0a5d 100644 --- a/src/helpers.jl +++ b/src/helpers.jl @@ -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,