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

Don McCoy don at codesourcery.com
Sat May 17 23:27:41 UTC 2008


Don McCoy wrote:
> Index: examples/mprod.cpp
> ===================================================================
> --- examples/mprod.cpp	(revision 0)
> +++ examples/mprod.cpp	(revision 0)
>   
...

> +  {  
> +    typedef vsip::scalar_f   T;
> +    typedef vsip::cscalar_f  CT;
> +    Matrix<T> a(5, 4, T(2));
> +    Matrix<CT> b(4, 3, CT(3));
> +    Matrix<CT> c(5, 3, CT());
> +    
> +    c = prod(a, b);
> +
> +    std::cout << "c = " << std::endl << c << std::endl;
> +  }
> +
> +  return 0;
> +}
>   
I removed this test case from the example.  It was left in there
unintentionally.

Committed as obvious.

-- 
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712




More information about the vsipl++ mailing list