Skip to content
Snippets Groups Projects

Some cleanup to the pystencils runtime headers

Merged Frederik Hennig requested to merge fhennig/include-cleanup into v2.0-dev
6 files
+ 5
28
Compare changes
  • Side-by-side
  • Inline
Files
6
  • 6284c1d2
     - 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
@@ -188,7 +188,7 @@ class CudaPlatform(GenericGpu):
@@ -188,7 +188,7 @@ class CudaPlatform(GenericGpu):
@property
@property
def required_headers(self) -> set[str]:
def required_headers(self) -> set[str]:
return {'"gpu_defines.h"'}
return {'"pystencils_runtime/hip.h"'} # TODO: move to HipPlatform once it is introduced
def materialize_iteration_space(
def materialize_iteration_space(
self, body: PsBlock, ispace: IterationSpace
self, body: PsBlock, ispace: IterationSpace
Loading