Skip to content

Some cleanup to the pystencils runtime headers

Frederik Hennig requested to merge fhennig/include-cleanup into v2.0-dev
  • Remove ancient PyStencilsField.h
  • move half-precision and HIP-specific integer typedefs to pystencils_runtime/*.h directory
  • remove INFINITY macros since they cause redefinition errors with nvcc and hipcc

Over time, we should move all runtime headers to the pystencils_runtime folder such that the associated #includes can be properly qualified.

At the moment, the INFINITY macros are used nowhere in the code base. For their reintroduction in !438, we will need to set up a more stable implementation.

Merge request reports