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] [type] Refine SNode with quant 8/n: Replace bit_struct with ti.BitpackedFields #5532

Merged
merged 9 commits into from
Jul 29, 2022

Conversation

strongoier
Copy link
Contributor

@strongoier strongoier commented Jul 26, 2022

Related issue = #4857

This PR finishes the API change proposed in #4857 (comment). bit_struct is now removed from the Python side. There is still some code around bit_struct SNode left in C++ side, which is mainly to ease internal implementation and will no longer block future development, so we can just leave them there.

@netlify
Copy link

netlify bot commented Jul 26, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 3d8831a
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/62e22768318ed30008410513
😎 Deploy Preview https://deploy-preview-5532--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 changed the title [Lang] [type] Replace bit_struct with ti.BitpackedFields [Lang] [type] Refine SNode with quant 8/n: Replace bit_struct with ti.BitpackedFields Jul 26, 2022
@strongoier strongoier requested review from ailzhang and k-ye July 27, 2022 06:57
@strongoier
Copy link
Contributor Author

/rebase

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.

Nice!!

python/taichi/lang/field.py Show resolved Hide resolved
@strongoier strongoier merged commit d88dacf into taichi-dev:master Jul 29, 2022
@strongoier strongoier deleted the add-bitpacked-fields branch July 29, 2022 06:04
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