Skip to content

Fixed vulkan errors with not destroyed lists and incorrect error check on pybindings - #2585

Merged
rsuderman merged 2 commits into
iree-org:mainfrom
rsuderman:FixVulkanMemErrors
Jul 21, 2020
Merged

rsuderman merged 2 commits into
iree-org:mainfrom
rsuderman:FixVulkanMemErrors

Conversation

@rsuderman

Copy link
Copy Markdown
Collaborator

Lists were not being freed resulting in errors for some of our vulkan tests.

@rsuderman rsuderman changed the title Fixed vulkan errors for non-uninitialized lists. Fixed vulkan errors for non-uninitialized lists and incorrect error check Jul 20, 2020

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

non-uninitialized?

@rsuderman rsuderman changed the title Fixed vulkan errors for non-uninitialized lists and incorrect error check Fixed vulkan errors with not destroyed lists and incorrect error check on pybindings Jul 21, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member

non-uninitialized?

You mean not released? I think uninitialized would be if it was never initialized...

@rsuderman

Copy link
Copy Markdown
Collaborator Author

non-uninitialized?

Yeah... uninitialize is used to delete lists. Tried to use the APIs wording but definitely felt clunky. Renamed.

@rsuderman
rsuderman merged commit 153a8c4 into iree-org:main Jul 21, 2020
@rsuderman
rsuderman deleted the FixVulkanMemErrors branch July 21, 2020 00:03
@benvanik

Copy link
Copy Markdown
Collaborator

This isn't correct; the inputs/outputs cannot be deinitialized like that - they need to be reset() (like std::unique_ptr)

@benvanik

Copy link
Copy Markdown
Collaborator

fix here: #2589 (next time, please let me review changes like this)

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.

4 participants