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

[llvm] [refactor] LLVMProgramImpl code clean up: part-3 #5188

Merged
merged 6 commits into from
Jun 20, 2022

Conversation

jim19930609
Copy link
Contributor

@jim19930609 jim19930609 commented Jun 16, 2022

Related issue = #4800, #5114

Let's avoid accessing LlvmProgramImpl with "dynamic_cast + macro" in high-level object such as program.cpp or kernel.cpp, which strongly burdens the macro management.

For the place where ProgramImpl gets dispatched to each backend-specific XXXProgramImpl, it will stay unchanged for now. Will file another issue to discuss how we can replace that with "template + linking"

@netlify
Copy link

netlify bot commented Jun 16, 2022

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit 1dee237
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/62ac3616a1e201000820fe1b

@jim19930609 jim19930609 requested review from ailzhang, k-ye and strongoier and removed request for ailzhang June 17, 2022 10:23
Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ailzhang ailzhang merged commit b1a46f2 into taichi-dev:master Jun 20, 2022
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