|
Boost : |
Subject: Re: [boost] different matrix library?
From: joel (joel.falcou_at_[hidden])
Date: 2009-08-27 11:36:40
DE wrote:
> '3' is a common number as well as 'power of 2'
> in such a common case like
>
> matrix<double, tile<32, 32> > t32;
> //...
> matrix<double, tile<3, 3> > t3; //maybe in some function
> //... //intention is to tile 3x3
> m = t32*t3; //don't know about func'
> //parameter tiling
> according to your words, tiling would not occure at all!!!
>
Learn about : Least Common Multiple first then :
http://en.wikipedia.org/wiki/Least_common_multiple
it'll tile using a 96x96 tile which will -oh snap- fullfill both
requirement.
> but that is not the programmer's intention indeed!
>
Tiling is often done with similar values anyway. Like unrolling, this is
a expert-user option and should be used with care if you don't know what
you are doing.
> i would prefer at least one of either tiling (most appropriate) to take
> place but not that totally different thing
>
Except the Least Common Multiple do exactly what it should.
-- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk