This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 868 - kissfft backend makes wrong result if same buffer is supplied for input and output
Summary: kissfft backend makes wrong result if same buffer is supplied for input and o...
Status: REVIEWNEEDED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Unsupported modules (show other bugs)
Version: 3.2
Hardware: All All
: Normal Wrong Result
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 10:18 UTC by Abrahm Scully
Modified: 2019-12-04 13:40 UTC (History)
2 users (show)



Attachments
use temporary buffer if in-place fft is requested with kissfft backend (1.52 KB, patch)
2014-08-28 10:18 UTC, Abrahm Scully
no flags Details | Diff

Description Abrahm Scully 2014-08-28 10:18:51 UTC
Created attachment 492 [details]
use temporary buffer if in-place fft is requested with kissfft backend

The fftw backend will do an in-place operation if you supply the same buffer as input and output parameters. The kissfft-based backend is an out-of-place algorithm.

The supplied patch tries to detect when the input and output buffers are the same buffer and uses a temporary buffer as described in the "UNDER THE HOOD" section of kiss_fft130/README.
Comment 1 Jitse Niesen 2014-09-01 14:57:55 UTC
We need somebody who know the FFT module to comment on this. It makes sense to me, but instead of testing for the input and output buffers to be equal it would be better to test whether they overlap. Better documentation would also be welcome.
Comment 2 Nobody 2019-12-04 13:40:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/868.

Note You need to log in before you can comment on or make changes to this bug.