Some linalg routines do not check the dev_info variable for errors after calling cuSOLVER.
If it is a negative number, then linalg.LinAlgError should be raised.
Missing checks:
inv https://github.com/cupy/cupy/blob/master/cupy/linalg/solve.py#L287-L295
qr https://github.com/cupy/cupy/blob/master/cupy/linalg/decomposition.py#L163-L176
Some linalg routines do not check the
dev_infovariable for errors after calling cuSOLVER.If it is a negative number, then
linalg.LinAlgErrorshould be raised.Missing checks:
invhttps://github.com/cupy/cupy/blob/master/cupy/linalg/solve.py#L287-L295qrhttps://github.com/cupy/cupy/blob/master/cupy/linalg/decomposition.py#L163-L176