Skip to content

Commit

Permalink
Update Exceptions.cpp (pytorch#96031)
Browse files Browse the repository at this point in the history
Fix a typo in Exceptions.cpp
Pull Request resolved: pytorch#96031
Approved by: https://github.com/Skylion007, https://github.com/kit1980
  • Loading branch information
co63oc authored and pytorchmergebot committed Mar 14, 2023
1 parent 507feb8 commit 86a9fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aten/src/ATen/cuda/Exceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace solver {

C10_EXPORT const char* cusolverGetErrorMessage(cusolverStatus_t status) {
switch (status) {
case CUSOLVER_STATUS_SUCCESS: return "CUSOLVER_STATUS_SUCCES";
case CUSOLVER_STATUS_SUCCESS: return "CUSOLVER_STATUS_SUCCESS";
case CUSOLVER_STATUS_NOT_INITIALIZED: return "CUSOLVER_STATUS_NOT_INITIALIZED";
case CUSOLVER_STATUS_ALLOC_FAILED: return "CUSOLVER_STATUS_ALLOC_FAILED";
case CUSOLVER_STATUS_INVALID_VALUE: return "CUSOLVER_STATUS_INVALID_VALUE";
Expand Down

0 comments on commit 86a9fe8

Please sign in to comment.