[vsipl++] CFAR Benchmark cleanup
Jules Bergmann
jules at codesourcery.com
Fri Jun 16 18:33:17 UTC 2006
Don McCoy wrote:
> 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?
That sounds great! It is much simpler than what I was proposing.
-- Jules
--
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
More information about the vsipl++
mailing list