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

[lang] Fix accidental changes during matrix refactor #6914

Merged
merged 5 commits into from
Dec 19, 2022

Conversation

strongoier
Copy link
Contributor

@strongoier strongoier commented Dec 16, 2022

Issue: #5819

Brief Summary

  1. += should not be used in (single-thread) matrix lib functions. It is an atomic op and will be demoted very late in the optimization passes, which is harmful to the compilation speed.
  2. __getitem__ should take only one parameter.

@strongoier strongoier added the full-ci Run complete set of CI tests label Dec 16, 2022
@netlify
Copy link

netlify bot commented Dec 16, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 1f6e17c
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/639fdabc7388c400086c5403
😎 Deploy Preview https://deploy-preview-6914--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@strongoier strongoier merged commit 4318e55 into taichi-dev:master Dec 19, 2022
@strongoier strongoier deleted the fix-acc branch December 19, 2022 06:54
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#5819

### Brief Summary

1. `+=` should not be used in (single-thread) matrix lib functions. It
is an atomic op and will be demoted very late in the optimization
passes, which is harmful to the compilation speed.
2. `__getitem__` should take only one parameter.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-ci Run complete set of CI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants