ORNL / ReSolve

Library of GPU-resident linear solvers
Other
58 stars 2 forks source link

Matrix handler now checks in the background if the matrix is CSR. #190

Closed pelesh closed 2 months ago

pelesh commented 2 months ago

Since only CSR format is supported by the MatrixHandler methods for matrix-vector product and matrix norm, these methods will now check if the matrix is CSR and, if not, return an error. When (if) MatrixHandler supports other sparse formats, we can add switch to those methods to perform computations specific to the (supported) input matrix format.

This PR: