Skip to content
Snippets Groups Projects
Commit 20314512 authored by Heinz-Bernd Eggenstein's avatar Heinz-Bernd Eggenstein
Browse files

Bug #1608: clFFT use of native_sin , native_cos can cause validation problems

experimental: -added alternative method for twiddle factor calc, using a smaller LUT (256 * float2 )
               via Taylor series to 3rd order, seems to be almost as accurate as method with 2 bigger LUTs, but faster.
              -improved method w/ 2 bigger LUTs to use LUTs of float2
              -improved method using slow sin/cos functions (now uses sincos combined function), still slow
              - preparaed plan struct to have method switchable at plan creation time.

              TODO: load smaller LUT for Taylor series approx into shared mem.
parent 48a3c019
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment