Skip to content

Restrict binary op lhs/rhs alias #3349

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

Merged
merged 8 commits into from
Jul 8, 2025
Merged

Restrict binary op lhs/rhs alias #3349

merged 8 commits into from
Jul 8, 2025

Conversation

laggui
Copy link
Member

@laggui laggui commented Jul 4, 2025

Initially found this bug when running QA for web examples. The wgpu output for mnist made no sense.

The cause: incorrect strided indexing for lhs/rhs alias in binary ops.

Added a test case. Issue was not present with fusion enabled, for now we further limit the lhs/rhs alias condition.

Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.20%. Comparing base (ddf8e49) to head (d572983).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3349   +/-   ##
=======================================
  Coverage   35.20%   35.20%           
=======================================
  Files         342      342           
  Lines       53142    53142           
=======================================
  Hits        18709    18709           
  Misses      34433    34433           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@laggui laggui merged commit 3523520 into main Jul 8, 2025
10 of 14 checks passed
@laggui laggui deleted the fix/oob branch July 8, 2025 20:25
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.

1 participant