Can we allocate a array with runtime length in taichi.kernel or taichi.func? #8494
Unanswered
icewired-yy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to use some algorithm that needs to allocate arrays to store some temp values. However, I find that Taichi cannot allocate a field or vector with a length that will be provided in runtime. Is there any solution to overcome this limitation?
I have tried:
but failed.
Beta Was this translation helpful? Give feedback.
All reactions