Skip to content
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

[CUDA][Bindless] Fix memory leak in interop mapping #2299

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

Conversation

cppchedy
Copy link
Contributor

@cppchedy cppchedy commented Nov 8, 2024

  • added a map to ur_device_handle_t_.
  • Capture the leaking Cumipmappedarray in urBindlessImagesMapExternalArrayExp into map.
  • Update urBindlessImagesImageFreeExp to check if the Cuarray is derived, then destroy the corresponding Cumipmappedarray.

* added a map to ur_device_handle_t_.
* Capture the leaking Cumipmappedarray in
  urBindlessImagesMapExternalArrayExp into map.
* Update urBindlessImagesImageFreeExp to check if the Cuarray is
  derived, then destroy the corresponding Cumipmappedarray.
@cppchedy cppchedy marked this pull request as ready for review November 13, 2024 14:45
@cppchedy cppchedy requested review from a team as code owners November 13, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda CUDA adapter specific issues images UR images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant