[vsipl++] [patch] support for non-contiguous rows or columns with Cell FFTM

Don McCoy don at codesourcery.com
Mon Mar 12 19:47:39 UTC 2007


Don McCoy wrote: 
> Thanks for catching that Stefan.  I've fixed the attached patch and 
> tested it locally.  I'm presently adding test cases to the FFT 
> "backend" test (tests/fft_be.cpp), but will include those changes in a 
> separate patch.

And here is that patch.  In putting this together I found and fixed two 
defects in the Cell FFT code.  Yay!  The tests for FFTM also cover using 
column-major data when doing column-wise FFT's, including the case where 
the columns are not dense (tightly packed), as is the case when a 
subview of a matrix is taken (i.e. every other row, etc...).

Note also this patch includes the changes from the previous patch as well.

The changes in FFT require that FFT_BE_TESTS be defined in order to run 
the backend-specific tests.  Without it, the test presently fails to 
compile because the CBE backend does not support 2-D and 3-D FFT's as of 
yet.

Regards,

-- 
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cbe_tests.changes
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20070312/f6241dc0/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cbe_tests.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20070312/f6241dc0/attachment-0001.ksh>


More information about the vsipl++ mailing list