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

[type] Refine SNode with quant 10/n: Add validity checks and simplify BitStructType #5573

Merged
merged 4 commits into from
Aug 1, 2022

Conversation

strongoier
Copy link
Contributor

Related issue = #4857

This PR enforces that at least 2 fields need to be placed when shared_exponent=True, and removes the redundant member_owns_shared_exponents_ from BitStructType.

@netlify
Copy link

netlify bot commented Jul 29, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 4b42814
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/62e751402c80290009866bc6
😎 Deploy Preview https://deploy-preview-5573--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 requested review from ailzhang and k-ye July 29, 2022 10:45
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.

LGTM!

tests/python/test_bitpacked_fields.py Show resolved Hide resolved
tests/cpp/ir/type_test.cpp Outdated Show resolved Hide resolved
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.

Thanks!

@ailzhang ailzhang merged commit fc3af55 into taichi-dev:master Aug 1, 2022
@strongoier strongoier deleted the shared-exp branch August 1, 2022 05:54
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