[vsipl++] CFAR Benchmark cleanup

Don McCoy don at codesourcery.com
Fri Jun 16 16:37:49 UTC 2006


Jules Bergmann wrote:
> 
> 'strip' should be allocated outside of cfar_detect, similar to cpow.
> 
> Unfortunately, passing an additional parameter breaks the interface 
> consistency with ImplSlice and ImplVector.
> 

I think it would be a cleaner solution if I just passed 'loop' and 
'&time' in as additional parameters and then the temp v4sf vector could 
be created before the timer was started.  I believe firbank does it that 
way, so it would make those two cases match a little better.  It also 
has the effect of eliminating the function call overhead.

Would that be ok?

Regards,

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



More information about the vsipl++ mailing list