Skip to content

Conversation

@robquill
Copy link
Collaborator

@robquill robquill commented Feb 6, 2020

Destroy imgdnn_memory for network outputs in
ANeuralNetworkExecution_notifyWait after they are unlocked, instead of
at the end of ANeuralNetworksExecution_startCompute.
Fixes "CL: Invalid memory object" errors in test_serialize and
test_binary.

Destroy imgdnn_memory for network outputs in
ANeuralNetworkExecution_notifyWait after they are unlocked, instead of
at the end of ANeuralNetworksExecution_startCompute.
Fixes "CL: Invalid memory object" errors in test_serialize and
test_binary.
Copy link
Contributor

@Rbiessy Rbiessy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course, thank you for the fix!

Co-Authored-By: Romain Biessy <romain.biessy@codeplay.com>
@robquill robquill merged commit 62562f0 into master Feb 6, 2020
@robquill robquill deleted the fix_imgdnn_use_after_free branch February 6, 2020 14:29
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