[vsipl++] [patch] Pre-release fixes

Stefan Seefeld stefan at codesourcery.com
Wed Sep 21 11:56:27 UTC 2005


Jules Bergmann wrote:

>  - added checking to the IPP dispatch to check the operands have the 
> same type.  It was matching an expression
> 
>     View<complex<float>> = View<float> * View<complex<float>>
> 
> but there was no corresponding IPP vmul wrapper.
> 
>  - reverse the order of parameters to IPP Subtract and Divide.
> 
>       ippsSub(A, B, Z, ...)
> 
>    is equivalent to
> 
>       Z = B - A
> 
>    go figure!

doh !

I was wondering how to best test serial dispatch. It appears I was a bit
too sloppy when testing as I didn't add a new test that provides specifically
expressions that match the ones IPP can deal with.
Instead I locally modified an existing test to make sure the right backend
was called, but without checking the results.

What we need is a set of expression tests that match all the patterns we
provide backends for, and then somehow mark them up during execution so
we know we have complete coverage.

Regards,
		Stefan



More information about the vsipl++ mailing list