[vsipl++] [patch] Support for Cell FFT's up to 4K points.

Stefan Seefeld stefan at codesourcery.com
Mon Feb 12 23:38:44 UTC 2007


Jules Bergmann wrote:

> [7] Q for Stefan: how do we handle FFT assignment?  Is there a problem with
> W_ being freed multiple times?

That's a good question. I believe our FFT frontends don't yet provide copy-construction
and assignment. The plan is to allow multiple FFT frontends to share a single
backend. In any case, we should definitely put an operator= declaration somewhere,
if only into the private section to make it clear that this type is non-assignable.


> [9] Should rt_valid also check that the size is a power of 2 (or does
> libfft handle non-power-of-two sizes?)
> 
> Also, I don't see how you could check for unit-stride here since there
> is no layout info.  I need to refresh my memory on rt_valid for FFT
> dispatch a bit.

Right, we can't check alignment in the evaluator as that doesn't see the block
objects passed to operator(). Thus, the only place to actually handle it is
by means of ext_data in the workspace.

Regards,
		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718



More information about the vsipl++ mailing list