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

Remove DawnCompiler #886

Merged
merged 105 commits into from
Apr 21, 2020
Merged

Remove DawnCompiler #886

merged 105 commits into from
Apr 21, 2020

Conversation

jdahm
Copy link
Contributor

@jdahm jdahm commented Mar 26, 2020

Technical Description

Remove the DawnCompiler class. This requires many tests to change their usage of the optimizer and code generation.

To dos:

Notable changes

  • -write-iir now writes to a file called ${stencilname}.iir instead of ${filename}.%d.iir. This was unfortunately necessary because where it is serialized we do not have access to the filename
  • dawn/scripts/refactor was moved up a directory
  • dawn/scripts/make_pybind11_sources.py now automatically overwrites the dawn4py/_dawn4py.cpp file
  • the inlining pass is not automatically added at the end if using the cuda backend, unless using the gtclang executable. That needs to be done manually now.
  • dawn4py bindings changed

Resolves / Enhances

Resolves #874, #900.
Depends on #877.

Testing

http://localhost:8080/job/dawn_gtclang_clang-gridtools_PR/525/

@jdahm
Copy link
Contributor Author

jdahm commented Apr 16, 2020

launch jenkins

@jdahm
Copy link
Contributor Author

jdahm commented Apr 16, 2020

launch jenkins

@@ -295,11 +279,6 @@ void GTClangASTConsumer::HandleTranslationUnit(clang::ASTContext& ASTContext) {
} else {
num_stencils_generated++;
}
if(context_->getOptions().DeserializeIIR && num_stencils_generated > 1) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was removed because deserializeIIR is no longer a supported option

@jdahm
Copy link
Contributor Author

jdahm commented Apr 17, 2020

launch jenkins

@jdahm
Copy link
Contributor Author

jdahm commented Apr 18, 2020

launch jenkins

@jdahm
Copy link
Contributor Author

jdahm commented Apr 18, 2020

launch jenkins

@jdahm
Copy link
Contributor Author

jdahm commented Apr 21, 2020

launch jenkins

@jdahm jdahm merged commit 09d80e9 into MeteoSwiss-APN:master Apr 21, 2020
@jdahm jdahm deleted the remove_dawn_compiler branch April 21, 2020 01:12
jdahm added a commit that referenced this pull request Apr 21, 2020
Removes the CompilerUtil testing class. Builds on #886.
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.

Remove DawnCompiler dawn4py.compile vs dawn-opt and dawn-codegen
2 participants