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] Add support for struct on Dynamic SNode #6502

Merged
merged 6 commits into from
Nov 4, 2022

Conversation

lin-hitonami
Copy link
Contributor

@lin-hitonami lin-hitonami commented Nov 2, 2022

Issue: #5420

Brief Summary

This PR lets SNodeOpExpression store vector<Expr> values instead of Expr value, and enables passing a struct to ti.append.

@netlify
Copy link

netlify bot commented Nov 2, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit bb38792
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/6363983744bbc9000829f4f5
😎 Deploy Preview https://deploy-preview-6502--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.

@lin-hitonami lin-hitonami marked this pull request as ready for review November 3, 2022 03:40
taichi/ir/frontend_ir.h Outdated Show resolved Hide resolved
taichi/ir/expr.h Show resolved Hide resolved
taichi/ir/frontend_ir.cpp Outdated Show resolved Hide resolved
tests/python/test_dynamic.py Show resolved Hide resolved
Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

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

Thanks!

@lin-hitonami lin-hitonami merged commit 416cf6d into taichi-dev:master Nov 4, 2022
@lin-hitonami lin-hitonami deleted the dynamic_struct branch November 4, 2022 01:17
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Issue: taichi-dev#5420

### Brief Summary
This PR lets `SNodeOpExpression` store `vector<Expr> values` instead of
`Expr value`, and enables passing a struct to `ti.append`.

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