Skip to content

Conversation

windwhiterain
Copy link
Contributor

When build ast for "for loop", decorators like "static", "grouped", exprs like "ndrange" are detected directly from ast. However, "mesh-for" is detected via evaluating the iterable statement's value.
I made some change that using similar evaluation to detect "grouped" and "ndrange" so that end user can wrap these method into there own iterable.
I'm motivated when developing a type hint rich wrapper for taichi, during which I found no way to wrap "grouped" nor "ndrange" into typed one.

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2025

CLA assistant check
All committers have signed the CLA.

@feisuzhu
Copy link
Contributor

feisuzhu commented May 7, 2025

/rebase

@taichi-gardener taichi-gardener force-pushed the more_evaluative_build_for branch from 308ddf8 to 351c23f Compare May 7, 2025 14:32
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