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] Remove deprecated packed switch #7104

Merged
merged 8 commits into from
Jan 13, 2023

Conversation

strongoier
Copy link
Contributor

@strongoier strongoier commented Jan 9, 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.

@netlify
Copy link

netlify bot commented Jan 9, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit f97b381
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63c11d3747f5550009116fa9
😎 Deploy Preview https://deploy-preview-7104--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 modified the milestone: v1.4.0 Jan 9, 2023
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>
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>
Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

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

Epic!

@strongoier strongoier merged commit e77ed57 into taichi-dev:master Jan 13, 2023
@strongoier strongoier deleted the remove-packed branch January 13, 2023 09:44
ailzhang pushed a commit that referenced this pull request Jan 28, 2023
…7227)

### Brief Summary

This is a follow-up PR of #7104 to fully remove legacy code for the
SNode padding behavior. Note that the experimental code of struct for on
bitmasked SNode for SPIR-V is removed here because it assumes the
existence of the padding behavior.

---------

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>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
…aichi-dev#7227)

### Brief Summary

This is a follow-up PR of taichi-dev#7104 to fully remove legacy code for the
SNode padding behavior. Note that the experimental code of struct for on
bitmasked SNode for SPIR-V is removed here because it assumes the
existence of the padding behavior.

---------

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