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 to wgpu 22.0.0 #2040

Closed
wants to merge 1 commit into from

Conversation

ArthurBrussee
Copy link
Contributor

Pull Request Template

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.

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.23%. Comparing base (3204cbe) to head (98a0448).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2040   +/-   ##
=======================================
  Coverage   84.23%   84.23%           
=======================================
  Files         847      847           
  Lines      105481   105486    +5     
=======================================
+ Hits        88849    88857    +8     
+ Misses      16632    16629    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nathanielsimard
Copy link
Member

@ArthurBrussee Most of the codebase now lives on the CubeCL repo, can you made the PR there instead? I'm actively working on the migration, should land very soon on the burn main branch.

@ArthurBrussee
Copy link
Contributor Author

Yeah makes sense, will create a PR there once the migration lands!

@ArthurBrussee ArthurBrussee deleted the upgrade-wgpu branch August 13, 2024 13:37
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