Skip to content

Expand exception handling in C API to catch generic exceptions.#123

Merged
romerojosh merged 2 commits into
mainfrom
expand_exception_handling
Apr 30, 2026
Merged

Expand exception handling in C API to catch generic exceptions.#123
romerojosh merged 2 commits into
mainfrom
expand_exception_handling

Conversation

@romerojosh

Copy link
Copy Markdown
Collaborator

This PR improves the existing exception handling in cuDecomp. Up to now, cuDecomp would only catch and handle cuDecomp specific exceptions and allow generic C++ exceptions to pass uncaught which isn't ideal. After this change, generic exceptions are caught and reported as internal errors. This PR also includes some small remaining missing input argument validation in some of the functions.

Signed-off-by: Josh Romero <joshr@nvidia.com>
Signed-off-by: Josh Romero <joshr@nvidia.com>
@romerojosh

Copy link
Copy Markdown
Collaborator Author

/build

@github-actions

Copy link
Copy Markdown

🚀 Build workflow triggered! View run

@github-actions

Copy link
Copy Markdown

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit 9b32e68 into main Apr 30, 2026
4 checks passed
@romerojosh romerojosh deleted the expand_exception_handling branch April 30, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant