Skip to content
Snippets Groups Projects

Extend mdspan interface and fix mdspan memory layout mapping

Merged Frederik Hennig requested to merge fhennig/mdspan-fixes into master
All threads resolved!
Viewing commit f772a17e
Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -22,6 +22,6 @@ with SourceFileGenerator() as sfg:
sfg.function("jacobi_smooth")(
sfg.map_field(u_src, mdspan.from_field(u_src, layout_policy="layout_left")),
sfg.map_field(u_dst, mdspan.from_field(u_dst, layout_policy="layout_left")),
sfg.map_field(f, mdspan.from_field(f)),
sfg.map_field(f, mdspan.from_field(f, layout_policy="layout_left")),
sfg.call(poisson_kernel)
)