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] Enable definition of local matrices/vectors #5782

Merged
merged 46 commits into from
Aug 25, 2022

Conversation

AD1024
Copy link
Contributor

@AD1024 AD1024 commented Aug 15, 2022

Related issue = #5478
A part of PR #5551

@netlify
Copy link

netlify bot commented Aug 15, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 5ed0e93
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/630721861c5b680009e80a5b
😎 Deploy Preview https://deploy-preview-5782--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.

@AD1024 AD1024 changed the title [Lang] Enable definition of local matrices/vectors [Lang] Enable definition of local matrices/vectors Aug 15, 2022
@AD1024 AD1024 marked this pull request as ready for review August 15, 2022 18:54
taichi/transforms/type_check.cpp Show resolved Hide resolved
taichi/transforms/alg_simp.cpp Outdated Show resolved Hide resolved
taichi/transforms/alg_simp.cpp Outdated Show resolved Hide resolved
taichi/runtime/llvm/llvm_context.cpp Outdated Show resolved Hide resolved
taichi/python/export_lang.cpp Outdated Show resolved Hide resolved
taichi/ir/statements.h Show resolved Hide resolved
taichi/ir/frontend_ir.h Show resolved Hide resolved
taichi/ir/control_flow_graph.cpp Outdated Show resolved Hide resolved
taichi/analysis/data_source_analysis.cpp Outdated Show resolved Hide resolved
taichi/codegen/llvm/codegen_llvm.cpp Outdated Show resolved Hide resolved
@jim19930609
Copy link
Contributor

Nice work! Just some comments wrt implementation details~

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!

Copy link
Contributor

@strongoier strongoier left a comment

Choose a reason for hiding this comment

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

BTW have you tried to run tests locally to see if things work well with dynamic_index=True (the tests are not enabled in CI)?

python/taichi/lang/ast/ast_transformer.py Outdated Show resolved Hide resolved
python/taichi/lang/matrix.py Outdated Show resolved Hide resolved
python/taichi/lang/impl.py Outdated Show resolved Hide resolved
python/taichi/lang/impl.py Outdated Show resolved Hide resolved
python/taichi/lang/matrix.py Outdated Show resolved Hide resolved
taichi/ir/frontend_ir.h Outdated Show resolved Hide resolved
taichi/ir/frontend_ir.h Outdated Show resolved Hide resolved
taichi/transforms/type_check.cpp Show resolved Hide resolved
taichi/codegen/llvm/codegen_llvm.cpp Outdated Show resolved Hide resolved
AD1024 and others added 2 commits August 23, 2022 19:17
@AD1024
Copy link
Contributor Author

AD1024 commented Aug 23, 2022

BTW have you tried to run tests locally to see if things work well with dynamic_index=True (the tests are not enabled in CI)?

Will try. I don't think this would be an issue.

taichi/transforms/alg_simp.cpp Outdated Show resolved Hide resolved
taichi/ir/type_utils.cpp Show resolved Hide resolved
taichi/codegen/llvm/codegen_llvm.cpp Show resolved Hide resolved
taichi/codegen/llvm/codegen_llvm.cpp Outdated Show resolved Hide resolved
taichi/transforms/alg_simp.cpp Outdated Show resolved Hide resolved
taichi/ir/frontend_ir.cpp Outdated Show resolved Hide resolved
taichi/analysis/data_source_analysis.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@strongoier strongoier left a comment

Choose a reason for hiding this comment

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

LGTM!

taichi/python/export_lang.cpp Outdated Show resolved Hide resolved
python/taichi/lang/impl.py Outdated Show resolved Hide resolved
@strongoier strongoier merged commit 9d347f6 into taichi-dev:master Aug 25, 2022
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.

3 participants