Skip to content

Extensions and fixes to the type system

Frederik Hennig requested to merge fhennig/types-extensions into backend-rework
  • Fix hashing and equality checks of TypeAtoms
  • Fix natural alignment in struct types
  • Allow to manually specify data types for shape and stride symbols
  • Add "half"/"float16" to the type parser
  • Add a DynamicType front-end class for CastFunc to decide the cast target during kernel translation; might find additional applications for this in the future

Merge request reports