Skip to content

Improve grid descriptor and handle resource cleanup/management.#127

Merged
romerojosh merged 2 commits into
mainfrom
comm_info_resource_cleanup
May 5, 2026
Merged

Improve grid descriptor and handle resource cleanup/management.#127
romerojosh merged 2 commits into
mainfrom
comm_info_resource_cleanup

Conversation

@romerojosh

Copy link
Copy Markdown
Collaborator

This PR is part of a series of changes I am making to the code to improve resource management/reclamation on API failures. Before this change, cuDecomp would leak resources on grid descriptor/handle creation failures. To better address these situations, the handle and grid descriptor code has been reorganized a bit to delegate clean up functionality to class destructors, which should take care of resource reclamation if an error is encountered during initialization.

romerojosh added 2 commits May 4, 2026 13:27
Signed-off-by: Josh Romero <joshr@nvidia.com>
…up on failure.

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

Copy link
Copy Markdown
Collaborator Author

/build

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

🚀 Build workflow triggered! View run

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit f3c04df into main May 5, 2026
4 checks passed
@romerojosh romerojosh deleted the comm_info_resource_cleanup branch May 5, 2026 18:27
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