Skip to content

Missing error checks for cuSOLVER calls #2414

@IvanYashchuk

Description

@IvanYashchuk

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions