Skip to content

Improve autotuning resource clean up on failure.#128

Merged
romerojosh merged 3 commits into
mainfrom
autotune_resource_cleanup
May 5, 2026
Merged

Improve autotuning resource clean up on failure.#128
romerojosh merged 3 commits into
mainfrom
autotune_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 temporary GPU buffers if a failure occurs during autotuning. This PR introduces unique pointer-based guards to delete/free these resources on failure. I also add a small unrelated change to the graphCache destructor to make it exception free.

romerojosh added 3 commits May 5, 2026 11:26
Signed-off-by: Josh Romero <joshr@nvidia.com>
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

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

🚀 Build workflow triggered! View run

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit 2211396 into main May 5, 2026
4 checks passed
@romerojosh romerojosh deleted the autotune_resource_cleanup branch May 5, 2026 19:48
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