Vectorization warning issues
There seem to be some vectorization issues.
First, we have a very simple 1D-Kernel example.py, which should not have any issues. And yet I receive the warning:
pystencils/cpu/vectorization.py:127: UserWarning: Could not vectorize loop because of non-consecutive memory access warnings.warn("Could not vectorize loop because of non-consecutive memory access")
The second example2.py has the field y
on both lhs and rhs side of the assignment. However, the stencil-access pattern is the same und thus now non-consecutive memory access should be present. Yet I receive the warning.
The third example3.py has non-consecutive memory access and the warning is correct.
It is possible that I misunderstood something with the vectoriziation.