[vsipl++] [patch] Matrix product 'backend' for CML

Stefan Seefeld stefan at codesourcery.com
Wed May 14 16:15:37 UTC 2008


Don McCoy wrote:
> This patch adds support for matrix products using the Cell/B.E. Math
> Library (CML).
> 
> Note there is a new example demonstrating the prod() function for both
> scalar and complex values.  This was tested with both
> interleaved-complex and split-complex layouts.

This patch includes a 'Cml_traits' template that's equivalent to 
Type_equal<Scalar_of<T>::type, float>. If it is going to stay this 
simple, I would prefer not to introduce this 'Cml_traits' for it.

On the other hand, you mentioned in another mail you were going to also 
check for split vs. interleaved there, so it may grow a little. I'm not 
yet convinced that such a generic Cml_traits template is useful, though, 
since availability of some (type, layout) may depend on the actual 
operation.

Other than that, the patch looks good.

Thanks,

		Stefan

-- 
Stefan Seefeld
CodeSourcery
stefan at codesourcery.com
(650) 331-3385 x718



More information about the vsipl++ mailing list