Skip to content

GridTools version 1.0.0

Compare
Choose a tag to compare
@havogt havogt released this 05 Apr 16:49
· 370 commits to master since this release
5dfeace

GridTools

An introduction to GridTools can be found in the documentation. Functionality as described in the documentation is considered public API, other functionality is considered internal and might change without notice.

Upgrading from pre-release versions

In the process of finalizing GridTools v1.0, API was changed in many places in the past pre-release version. See the description of the releases for information on how to update to the latest API.

Changes since v0.21.0

API breaking changes

The backend strategy (naive/block) was removed and replaced by a separate naive backend. (#1238, #1240, #1244)

In the process, the target tags became obsolete as they were just referring to a backend. Therefore target was renamed to backend.
To update apply the following changes

  • backend_t::make_global_parameter(…) is now make_global_parameter<backend_t>(). Same for update_global_parameter.
  • backend_t::storage_traits_t was removed, use storage_traits<backend_t> instead.
  • target::X is now called backend::X.
  • CMake variables GT_ENABLE_TARGET_X are renamed to GT_ENABLE_BACKEND_X.

Other

  • Already deprecated functions were removed (#1232)
  • Removed 2D and packing version from gcl (#1233)
  • The last 2 parameters of axis are encapsulated in types, and the order of these parameters is reversed, e.g. use axis<2, axis_config::offset_limit<4>> instead of axis<2,0,4> (#1257)
  • The call operator is removed from the global parameter (#1256)