Skip to content

modeld: properly release OpenCL context in __dealloc__ method#34353

Merged
adeebshihadeh merged 1 commit intocommaai:masterfrom
deanlee:modeld_release_cl_context
Jan 12, 2025
Merged

modeld: properly release OpenCL context in __dealloc__ method#34353
adeebshihadeh merged 1 commit intocommaai:masterfrom
deanlee:modeld_release_cl_context

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
@deanlee deanlee deleted the modeld_release_cl_context branch January 13, 2025 01:46
ssysm pushed a commit to MOTIF-lab/openpilot that referenced this pull request Feb 13, 2025
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