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] Raise errors when using the packed switch #7125

Merged
merged 5 commits into from
Jan 12, 2023

Conversation

strongoier
Copy link
Contributor

Brief Summary

The packed switch of ti.init() should be removed according to the deprecation notice. However, to avoid a large changeset immediately before release (#7104), let's raise errors first and get that in later.

@strongoier strongoier added this to the v1.4.0 milestone Jan 11, 2023
@netlify
Copy link

netlify bot commented Jan 11, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 08bf9f7
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63be738bbc517b000836455f
😎 Deploy Preview https://deploy-preview-7125--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.

Copy link
Contributor

@lin-hitonami lin-hitonami left a comment

Choose a reason for hiding this comment

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

LGTM

@lin-hitonami lin-hitonami merged commit 96e7c11 into taichi-dev:master Jan 12, 2023
@strongoier strongoier deleted the ban-packed branch January 12, 2023 02:50
lin-hitonami pushed a commit that referenced this pull request Jan 12, 2023
### Brief Summary

The `packed` switch of `ti.init()` should be removed according to the
[deprecation
notice](https://github.com/taichi-dev/taichi/releases/tag/v1.3.0).
However, to avoid a large changeset immediately before release (#7104),
let's raise errors first and get that in later.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
lin-hitonami pushed a commit that referenced this pull request Jan 12, 2023
### Brief Summary

The `packed` switch of `ti.init()` should be removed according to the
[deprecation
notice](https://github.com/taichi-dev/taichi/releases/tag/v1.3.0).
However, to avoid a large changeset immediately before release (#7104),
let's raise errors first and get that in later.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
lin-hitonami pushed a commit that referenced this pull request Jan 12, 2023
### Brief Summary

The `packed` switch of `ti.init()` should be removed according to the
[deprecation
notice](https://github.com/taichi-dev/taichi/releases/tag/v1.3.0).
However, to avoid a large changeset immediately before release (#7104),
let's raise errors first and get that in later.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
strongoier added a commit that referenced this pull request Jan 13, 2023
### Brief Summary

This is a follow-up PR of #7125 to fully remove the `packed` switch.
Changes to `ArithmeticInterpretor` are included to pass the
`ScalarPointerLowererTest.Basic` test, which now switches running mode
(packed) and generates different IR.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
### Brief Summary

The `packed` switch of `ti.init()` should be removed according to the
[deprecation
notice](https://github.com/taichi-dev/taichi/releases/tag/v1.3.0).
However, to avoid a large changeset immediately before release (taichi-dev#7104),
let's raise errors first and get that in later.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
### Brief Summary

This is a follow-up PR of taichi-dev#7125 to fully remove the `packed` switch.
Changes to `ArithmeticInterpretor` are included to pass the
`ScalarPointerLowererTest.Basic` test, which now switches running mode
(packed) and generates different IR.

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants