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

[opt] Add more strict alias analysis for ExternalPtrStmt #3992

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

ailzhang
Copy link
Contributor

This is not likely not 100% safe, how about banning "passing the same ndarray as
different arguments to a taichi kernel"?

It helps eliminating identical GlobalLoadStmts (whose source areExternalPtrStmts) in mpm88 aot example.

Related issue = #

This is not likely not 100% safe, how about banning "passing the same ndarray as
different arguments to a taichi kernel"?
@netlify
Copy link

netlify bot commented Jan 11, 2022

✔️ Deploy Preview for jovial-fermat-aa59dc canceled.

🔨 Explore the source changes: 041f1bc

🔍 Inspect the deploy log: https://app.netlify.com/sites/jovial-fermat-aa59dc/deploys/61dcdd84c3c79500075d9ac2

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! Only need to prevent users from passing same ndarrays into a kernel :-)

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.

2 participants