-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Technical Description Remove the DawnCompiler class. This requires many tests to change their usage of the optimizer and code generation. 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.
- Loading branch information
Showing
130 changed files
with
2,085 additions
and
3,901 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
##===------------------------------------------------------------------------------*- CMake -*-===## | ||
## _ | ||
## | | | ||
## __| | __ ___ ___ ___ | ||
## / _` |/ _` \ \ /\ / / '_ | | ||
## | (_| | (_| |\ V V /| | | | | ||
## \__,_|\__,_| \_/\_/ |_| |_| - Compiler Toolchain | ||
## | ||
## | ||
## This file is distributed under the MIT License (MIT). | ||
## See LICENSE.txt for details. | ||
## | ||
##===------------------------------------------------------------------------------------------===## | ||
|
||
if (NOT DEFINED HAS_UNSTRUCTURED_DEPS) | ||
|
||
set(HAS_UNSTRUCTURED_DEPS OFF CACHE BOOL "True if Dawn has detected necessary dependencies for supporting unstructured grids.") | ||
mark_as_advanced(HAS_UNSTRUCTURED_DEPS) | ||
|
||
if(DAWN_REQUIRE_UNSTRUCTURED_TESTING) | ||
find_package(eckit REQUIRED) | ||
find_package(atlas REQUIRED) | ||
else() | ||
find_package(eckit QUIET) | ||
if(NOT eckit_FOUND) | ||
message(STATUS "Could NOT locate eckit.") | ||
endif() | ||
find_package(atlas QUIET) | ||
if(NOT atlas_FOUND) | ||
message(STATUS "Could NOT locate atlas.") | ||
endif() | ||
endif() | ||
|
||
if(atlas_FOUND AND eckit_FOUND) | ||
message(STATUS "Found atlas and eckit. Setting HAS_UNSTRUCTURED_DEPS=ON.") | ||
set(HAS_UNSTRUCTURED_DEPS ON) | ||
else() | ||
set(STATUS "Cound not find dependencies for unstructured support.") | ||
endif() | ||
|
||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
build/ | ||
dawn-tutorial-venv/ | ||
laplacian_stencil_cxx_naive.cpp | ||
laplacian_stencil_from_python.cpp | ||
laplacian_stencil_from_python.sir | ||
laplacian_stencil_from_toolchain.cpp | ||
in.vtk | ||
out.vtk |
Oops, something went wrong.