[vsipl++] [patch] Avoid invalid DMA sizes for vmul
Don McCoy
don at codesourcery.com
Fri Mar 16 20:32:51 UTC 2007
Jules Bergmann wrote:
> This patch fixes the cleanup code to avoid DMA sizes that aren't a
> multiple of 16. This fixes test failures for coverage_binary. It
> also adds a new regression test that sweeps through vmul sizes from 1
> to 128.
>
> Don, is this ok to commit? Is there a better place than bindings.hpp
> to put the GRANULARITY macro and is_dma_size_ok() function?
>
I think this is the right place. But there is also a bit of code in the
vmul kernels that deals with any leftover values in cases where the
length is not a multiple of four floats (16 bytes). We could probably
get rid of that now.
--
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712
More information about the vsipl++
mailing list