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

Fix/wgpu/fusion #1093

Merged
merged 3 commits into from Dec 22, 2023
Merged

Fix/wgpu/fusion #1093

merged 3 commits into from Dec 22, 2023

Conversation

nathanielsimard
Copy link
Member

Add support for fused element-wise integer operations.

But most importantly, actually enable fusion without the need for sync. That's right, we didn't have fused operations in real settings, and there was a bug when fusion was triggered by an operation instead of a sync, and this PR fixes this.

Copy link
Member

@louisfd louisfd left a comment

Choose a reason for hiding this comment

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

😄

///
/// # Warnings
///
/// Make sure the status correspond to the operation you want ot execute the handles one,
Copy link
Member

Choose a reason for hiding this comment

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

ot, handle, on

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (b070706) 85.41% compared to head (e053048) 85.47%.

Files Patch % Lines
burn-wgpu/src/fusion/elemwise/optimization.rs 92.72% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1093      +/-   ##
==========================================
+ Coverage   85.41%   85.47%   +0.05%     
==========================================
  Files         511      511              
  Lines       54675    54759      +84     
==========================================
+ Hits        46700    46804     +104     
+ Misses       7975     7955      -20     

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

@louisfd louisfd merged commit b0a2b30 into main Dec 22, 2023
15 checks passed
@louisfd louisfd deleted the fix/wgpu/fusion branch December 22, 2023 21:53
syl20bnr added a commit to syl20bnr/burn that referenced this pull request Jan 4, 2024
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.

None yet

2 participants