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] [ir] [refactor] Remove exceptions from offload pass #3925

Merged
merged 4 commits into from Jan 3, 2022

Conversation

mzmzm
Copy link
Contributor

@mzmzm mzmzm commented Jan 1, 2022

Related issue = #1059

@netlify
Copy link

netlify bot commented Jan 1, 2022

✔️ Deploy Preview for jovial-fermat-aa59dc ready!

🔨 Explore the source changes: f70f31d

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

😎 Browse the preview: https://deploy-preview-3925--jovial-fermat-aa59dc.netlify.app

@mzmzm mzmzm changed the title call recursively generic_visit [opt] [ir] [refactor] Remove exceptions from offload Jan 1, 2022
@mzmzm mzmzm requested a review from strongoier January 1, 2022 07:19
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.

It seems that your change doesn't touch places catching IRModified:

} catch (IRModified) {

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.

There's still one place catching IRModified :-)

taichi/transforms/offload.cpp Outdated Show resolved Hide resolved
@mzmzm mzmzm requested a review from strongoier January 2, 2022 10:48
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!

@strongoier strongoier changed the title [opt] [ir] [refactor] Remove exceptions from offload [opt] [ir] [refactor] Remove exceptions from offload pass Jan 3, 2022
@strongoier strongoier merged commit f60fcde into taichi-dev:master Jan 3, 2022
@mzmzm mzmzm deleted the remove_exceptions_from_offload branch January 12, 2022 02:27
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.

None yet

2 participants