Python library for generating high-performance implementations of stencil kernels for weather and climate modeling from a domain-specific language (DSL).
In the current implementation, the library node expansion pattern doesn't support loop blocking in vertical direction, see below for the generated C++ code,
This is fine when vertical loop size is small, however, when we run high resolution with larger dimensional size in vertical direction, this vertical loop is no longer cache friendly, we will need to add new library node expansion pattern to support loop blocking in vertical direction, with which more cache friendly code can be generated as fellowing,
The bold code is the new code that added with the new library node expansion pattern. The corresponding PR will be added and update here for further review.
In the current implementation, the library node expansion pattern doesn't support loop blocking in vertical direction, see below for the generated C++ code,
This is fine when vertical loop size is small, however, when we run high resolution with larger dimensional size in vertical direction, this vertical loop is no longer cache friendly, we will need to add new library node expansion pattern to support loop blocking in vertical direction, with which more cache friendly code can be generated as fellowing,
The bold code is the new code that added with the new library node expansion pattern. The corresponding PR will be added and update here for further review.