diff --git a/ext/CUDA/operators.jl b/ext/CUDA/operators.jl index 2c2f937..48704d3 100644 --- a/ext/CUDA/operators.jl +++ b/ext/CUDA/operators.jl @@ -125,7 +125,7 @@ for (SparseMatrixType, BlasType) in ((:(CuSparseMatrixCSR{T}), :BlasFloat), end function KP.update!(A::NVIDIA_TriangularOperator{T,CUSPARSE.CuSparseSpSVDescriptor}, B::$SparseMatrixType) where T <: $BlasFloat - CUDA.version() ≥ v"12.3" || error("This operation is only support by CUDA ≥ v12.3") + CUSPARSE.version() ≥ v"12.2" || error("This operation is only support by CUDA ≥ v12.3") descB = CUSPARSE.CuSparseMatrixDescriptor(B, 'O') A.descA = descB CUSPARSE.cusparseSpSV_updateMatrix(CUSPARSE.handle(), A.descT, A.nzVal, 'G')