Skip to content

Clean up cuTENSOR plan memory #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Clean up cuTENSOR plan memory #212

wants to merge 1 commit into from

Conversation

lkdvos
Copy link
Collaborator

@lkdvos lkdvos commented Jun 25, 2025

Improve memory management by ensuring proper destruction of operation descriptors and plan preferences in the cuTENSOR plan function.

This is the equivalent of https://github.com/JuliaGPU/CUDA.jl/pull/2794/files

Fixes #211

@lkdvos lkdvos requested a review from Jutho June 25, 2025 16:54
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.

Potential memory leak for cuTENSOR contractions with minimal example
1 participant