Skip to content

Extension to field read extraction

Markus Holzer requested to merge holzer/pystencils:ExtensionSimp into master

With add_subexpressions_for_field_reads it is possible to extract field reads from the kernel and put them in individual assignements. For mixed precision kernels, however, it is useful if the lhs of this new assignement is of given type. This isolates casts and prevents calculations in the data type of the stored values

Merge request reports