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

modeld: properly release OpenCL context in __dealloc__ method #34353

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Jan 10, 2025

This change ensures the OpenCL context is properly released in the __dealloc__ method, aligning with best practices for OpenCL context handling and preventing potential memory leaks.

@adeebshihadeh adeebshihadeh merged commit 1068779 into commaai:master Jan 12, 2025
16 checks passed
@deanlee deanlee deleted the modeld_release_cl_context branch January 13, 2025 01:46
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.

2 participants