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
[IR] Improve dynamic SNode performance #1178
Comments
Btw, @xumingkuan do you have an idea why |
Interesting... I thought |
I will investigate this later. |
taichi_elements (bd9ebdc7b86f748a1bdca7b74ee95151f3a8c863) with Taichi ea30eec : with Taichi v0.6.4: |
After #1229, TODO:
|
master branch, before lower_access:
|
Description
For some reason,
dynamic
SNodes become very slow nowadays. After a binary search, I find the commit that leads to this behavior is c6086e0Test case:
Before that commit
copy
takes 1.6ms but after it takes > 5s.The IR:
Before:
After:
I guess it's the
dynamic
SNode activation that leads to very low performance. Probably the activation weakening pass is not functioning after we introduceLoopIndexStmt
. I'm fixing that now.The text was updated successfully, but these errors were encountered: