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

add mgpcg example #573

Merged
merged 1 commit into from
Mar 10, 2020
Merged

add mgpcg example #573

merged 1 commit into from
Mar 10, 2020

Conversation

KLozes
Copy link
Collaborator

@KLozes KLozes commented Mar 10, 2020

Converted your mgpcg example to to python. Interestingly, the profiler shows that the reduction kernels take the majority of the computational time. Perhaps some optimization work needs to go into these.

@yuanming-hu
Copy link
Member

Awesome!!! I'll do a smoke simulator example based on it!

@yuanming-hu yuanming-hu merged commit 892434d into taichi-dev:master Mar 10, 2020
@yuanming-hu
Copy link
Member

Update: the new python frontend with template meta-programming and immediate tensor placement has allowed me to greatly simplify the MGPCG solver based on your version: 37610ff

@yuanming-hu
Copy link
Member

yuanming-hu commented Mar 10, 2020

About reduction optimization: #576 I'm working on systematically developing a set of IR extensions for this purpose.

@KLozes KLozes deleted the mgpcg2 branch March 10, 2020 23:50
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