Skip to content

[vulkan] Use per-test-suite SetUp/TearDown for sharing driver - #2428

Merged
antiagainst merged 1 commit into
iree-org:mainfrom
antiagainst:fix-cts-destruction
Jul 7, 2020
Merged

antiagainst merged 1 commit into
iree-org:mainfrom
antiagainst:fix-cts-destruction

Conversation

@antiagainst

Copy link
Copy Markdown
Member

There is an issue in SwiftShader requiring us to share the Vulkan
driver across test cases. But it turns out that this cannot be done
using static objects because static objects are destructed after
main(). It can cause unexpected problems when the driver also want
to perform clean up at that time.

There is an issue in SwiftShader requiring us to share the Vulkan
driver across test cases. But it turns out that this cannot be done
using static objects because static objects are destructed after
main(). It can cause unexpected problems when the driver also want
to perform clean up at that time.
@antiagainst
antiagainst merged commit 04e71f6 into iree-org:main Jul 7, 2020
@antiagainst
antiagainst deleted the fix-cts-destruction branch July 7, 2020 18:46
@GMNGeoffrey GMNGeoffrey mentioned this pull request Jul 8, 2020
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