Hello,
I am currently exploring and comparing the capability boundaries of Intel oneMKL and FFTW for strided transforms, especially transforms using negative input or output strides.
During this investigation, I found that negative strides appear to be only partially covered and not always handled consistently in FFTW. In particular:
- Some negative-stride cases appear to cause the FFTW planner to continue indefinitely while consuming increasing amounts of memory, eventually exhausting the available memory;
- The existing correctness tests do not appear to systematically cover negative strides;
- Some negative-stride cases expose bugs in the test infrastructure.
I understand that not every negative-stride layout, particularly an in-place layout, is necessarily valid or expected to be supported. Before preparing patches, I would like to clarify the intended support boundary:
- Are negative strides intended to be supported by the advanced, guru, and guru64 interfaces when the supplied memory layout is otherwise valid?
- Do you consider negative-stride support, or bugs exposed by negative strides, important enough to address upstream?
- Would regression tests and focused fixes for these cases be welcome?
- Are there specific negative-stride combinations that should be treated as unsupported?
If this is considered relevant, I plan to prepare focused patches that add deterministic negative-stride regression tests, fix test-infrastructure problems separately, and address confirmed FFTW implementation bugs in individual changes.
Thank you.
Hello,
I am currently exploring and comparing the capability boundaries of Intel oneMKL and FFTW for strided transforms, especially transforms using negative input or output strides.
During this investigation, I found that negative strides appear to be only partially covered and not always handled consistently in FFTW. In particular:
I understand that not every negative-stride layout, particularly an in-place layout, is necessarily valid or expected to be supported. Before preparing patches, I would like to clarify the intended support boundary:
If this is considered relevant, I plan to prepare focused patches that add deterministic negative-stride regression tests, fix test-infrastructure problems separately, and address confirmed FFTW implementation bugs in individual changes.
Thank you.