Add backend checks to solve methods (gesv, cholesky_solve) (#18116)
authorvishwakftw <cs15btech11043@iith.ac.in>
Tue, 19 Mar 2019 17:36:23 +0000 (10:36 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 19 Mar 2019 17:44:45 +0000 (10:44 -0700)
commit234bb8719a641482cda8ea4621f1557d11e7721b
tree91f43cc3a39aff0a116f23236a089f6e9024d303
parent7bb36ada1f2711708b504b08981f9f8b93963595
Add backend checks to solve methods (gesv, cholesky_solve) (#18116)

Summary:
Changelog:
- Incorporate a simple backend check in the linearSolveCheckInputs function in LinearAlgebraUtils.h
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18116

Differential Revision: D14504469

Pulled By: soumith

fbshipit-source-id: 7402b6dbaa8d73048946613b806d54f68bcbd8f4
aten/src/ATen/native/LinearAlgebraUtils.h
test/test_torch.py