Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Nov 28, 2023
1 parent 95ccbd8 commit 7b69a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/AMDGPU/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ for (SparseMatrixType, BlasType) in ((:(ROCSparseMatrixCSR{T}), :BlasFloat),
return AMD_KrylovOperator{T}(T, m, n, nrhs, transa, descA, buffer_size, buffer)
else
alpha = Ref{T}(one(T))
beta = Ref{T}(zeto(T))
beta = Ref{T}(zero(T))
descA = rocSPARSE.ROCSparseMatrixDescriptor(A, 'O')
descX = rocSPARSE.ROCDenseMatrixDescriptor(T, n, nrhs)
descY = rocSPARSE.ROCDenseMatrixDescriptor(T, m, nrhs)
Expand Down
2 changes: 1 addition & 1 deletion ext/CUDA/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for (SparseMatrixType, BlasType) in ((:(CuSparseMatrixCSR{T}), :BlasFloat),
return NVIDIA_KrylovOperator{T}(T, m, n, nrhs, transa, descA, buffer)
else
alpha = Ref{T}(one(T))
beta = Ref{T}(zeto(T))
beta = Ref{T}(zero(T))
descA = CUSPARSE.CuSparseMatrixDescriptor(A, 'O')
descX = CUSPARSE.CuDenseMatrixDescriptor(T, n, nrhs)
descY = CUSPARSE.CuDenseMatrixDescriptor(T, m, nrhs)
Expand Down

0 comments on commit 7b69a12

Please sign in to comment.