loki.transformations.transpile.fortran_maxeler

Classes

FortranMaxTransformation()

Fortran-to-Maxeler transformation that translates the given routine into .maxj and generates a matching manager and host code with corresponding ISO-C wrappers.

class FortranMaxTransformation

Bases: Transformation

Fortran-to-Maxeler transformation that translates the given routine into .maxj and generates a matching manager and host code with corresponding ISO-C wrappers.

transform_subroutine(routine, **kwargs)

Defines the transformation to apply to Subroutine items.

For transformations that modify Subroutine objects, this method should be implemented. It gets called via the dispatch method apply().

Parameters:
  • routine (Subroutine) – The subroutine to be transformed.

  • **kwargs (optional) – Keyword arguments for the transformation.