Hello, the following example seems to work
N = 1000
A = sprand(N, N, 1/N) + Diagonal(rand(N))
x = rand(N)
A_gpu = CUSPARSE.CuSparseMatrixCSC(A)
x_gpu = CuVector(x)
Pr_gpu = KrylovPreconditioners.kp_ilu0(A_gpu)
gmres(A_gpu, x_gpu, N=Pr_gpu, ldiv=true)
But not when I using CuSparseMatrixCSR, where I get the scalar indexing error.