Skip to content

Conversation

yingcong-wu
Copy link
Contributor

@yingcong-wu yingcong-wu commented May 22, 2025

Some resource destruction is done in the destructor, but if we don't manually clear the map, then the destructor is called after the adapter release, which leads to the leak report and maybe some UB(trying to use adapter after it is released).

@yingcong-wu yingcong-wu requested a review from a team as a code owner May 22, 2025 09:28
@yingcong-wu yingcong-wu changed the title fix leak [DeviceASAN] Fix a UR_L0_LEAKS_DEBUG leak report May 22, 2025
@yingcong-wu
Copy link
Contributor Author

Hi @intel/llvm-gatekeepers , this PR is ready to merge, thanks.

@yingcong-wu yingcong-wu requested a review from a team May 23, 2025 01:29
@yingcong-wu
Copy link
Contributor Author

Kindly ping @intel/llvm-gatekeepers .

@sommerlukas sommerlukas merged commit f063fea into intel:sycl May 27, 2025
32 checks passed
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.

3 participants