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

Upgrade wgpu to 22.0.0 #35

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

ArthurBrussee
Copy link
Contributor

Changes

Upgrade wgpu to 22.0.0. There's two breaking things:

Have to specifiy a MemoryHint, choosing between performance and lower memory usage. GIven wgpu has it's own block allocator now, MemoryUsage seems better. I did a quick test on the train sample and see no clear performance difference between either.

Need to specify a pipeline cache. This allows to cache compiled shader outputs. As per the comment in the wgpu code this is usually done automatically though not on Android seemingly. Could be nice someday.

@ArthurBrussee ArthurBrussee changed the title Upgrade wgpu to 0.22 Upgrade wgpu to 22.0.0 Jul 23, 2024
Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

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

Thanks

@nathanielsimard nathanielsimard merged commit 271a527 into tracel-ai:main Jul 24, 2024
1 of 2 checks passed
@ArthurBrussee ArthurBrussee deleted the wgpu-upgrade branch August 13, 2024 13:42
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