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

[Time sensitive] Refactor lowerer_impl to be abstract with a lowerer_impl_C version #472

Merged
merged 2 commits into from
Jun 15, 2021

Conversation

weiya711
Copy link
Contributor

Can this be pulled in sooner rather than later since its based off of commit 2c2545d

This refactors LowererImpl to LowererImplC and implemented LowererImpl as an abstract class to allow for different imperative backends. This makes merging and updating master into the spatial branch easier as well since it follows the same hierarchical structure. It will also make merging the spatial branch into master easier in the future.

@weiya711 weiya711 requested a review from stephenchouca June 11, 2021 23:45
@weiya711
Copy link
Contributor Author

Also after this is done, I can add in a comment in the #taco channel on slack so that other people are aware about this change

include/taco/lower/lowerer_impl.h Outdated Show resolved Hide resolved
include/taco/lower/lowerer_impl_C.h Outdated Show resolved Hide resolved
@stephenchouca
Copy link
Contributor

Also, can you make sure to run the GPU tests as well before merging to make sure there are no further regressions?

@weiya711
Copy link
Contributor Author

@stephenchouca I can run the GPU tests, but no actual code has been changed in the lowerer other than the refactoring so it really shouldn't change any of the regression tests

@weiya711
Copy link
Contributor Author

@stephenchouca I ran the CUDA tests (here: https://github.com/tensor-compiler/taco/actions/runs/937343179) and no additional tests fail. Also resolved your reviewed changes above

@weiya711 weiya711 requested a review from stephenchouca June 14, 2021 22:27
@weiya711 weiya711 merged commit 88fcb6c into master Jun 15, 2021
@weiya711 weiya711 deleted the refactor-lowerer branch June 15, 2021 02:06
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