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

Increasing the maximum amount of field indices allowed #6900

Closed
AmesingFlank opened this issue Dec 14, 2022 · 2 comments · Fixed by #6901
Closed

Increasing the maximum amount of field indices allowed #6900

AmesingFlank opened this issue Dec 14, 2022 · 2 comments · Fixed by #6901
Labels
feature request Suggest an idea on this project

Comments

@AmesingFlank
Copy link
Collaborator

I found myself writing the this line of code yesterday:

            self.configuration_ids = ti.field(
                int, shape=(3, 4, 2, 3, 4, 2, 3, 4, 2, 3, 4, 2))

Of course, it didn't work because taichi currently constraints the maximum amount of indices to 8. Would it be possible to increase this limit to 12 or 16?

@AmesingFlank
Copy link
Collaborator Author

Created #6901 to increase this limit to 12, but please let me know if there are any concerns, or if you think we should go directly to 16.

@strongoier
Copy link
Contributor

strongoier commented Dec 15, 2022

Increasing the limit to 12 is fine from my point of view.

Repository owner moved this from Untriaged to Done in Taichi Lang Dec 15, 2022
quadpixels pushed a commit to quadpixels/taichi that referenced this issue May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea on this project
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants