[vsipl++] [patch] Use new dispatch for matvec functions

Jules Bergmann jules at codesourcery.com
Tue Nov 18 22:10:23 UTC 2008


Don McCoy wrote:
> I think all feedback has been addressed with this patch.  Thank you 
> all.  It also includes the BLAS changes and a slight modification to the 
> matvec test (new) because it was running into an error comparing small 
> values on the gemp tests (but only when configured to use C-SAL).
> 
> Ok to commit?

Yes, this looks good, please check it in. -- Jules

> +  // Note: C-VSIPL backends set ct_valid to false if the block types don't 
> +  // allow direct data access (i.e. Ext_data_cost > 0), which occurs when
> +  // an operator like conj() is used (see cvjdot()).  This prevents this
> +  // evaluator from being used if invoked through the normal dispatch 
> +  // mechanism.  For the reference implementation, we call the backend 
> +  // explicitly, which is ok, since the Ext_data handles the layout 
> +  // adjustments.

Nice comment!

-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705



More information about the vsipl++ mailing list