Skip to content

Fix fortran failing tests

Seems that the Fortran tests were written assuming that lp.parse_fortran and lp.parse_transformed_fortran return tuples of kernels.

Since they actually return a lp.Program object, most tests were failing. This MR tweaks things so the syntax is consistent with the current return type.

Also marked test_parse_and_fuse_two_kernels as xfail since loopy has a hard time parsing the example code. It appears that it can't determine the root kernel, since there are two kernels, but neither calls the other.

cc @inducer cc @kaushikcfd

Merge request reports

Loading