OP2/PyOP2

Unrolled wrapper code is quite unhealthy for high-order kernels

Closed this issue · 1 comments

In most cases, PyOP2 generates unrolled loops in the wrapper. With high-order elements, that generates a lot of code, and GCC fails to de-unroll them, so it becomes a lot of code binary as well.

This also makes the C compilation times minutes instead of seconds.

I recommend that @tj-sun changes this as part of his packing changes.