loop and jam patch?

Tim Prince tprince@myrealbox.com
Fri Nov 18 03:09:00 GMT 2005


Janne Blomqvist wrote:
> On Thu, Nov 17, 2005 at 08:35:26PM +0100, Thomas Koenig wrote:
> 
>>We currently have a few patches for optimizing matmul and
>>dot_product.  If we are indeed optimizing for speed, I think we
>>should choose the best available solution, and I think that this
>>includes taking advantage of loop and jam.
> 
> 
> One thing that definitively would help would be to use blas for bigger
> vectors/arrays. BLAS however seems to have quite high overhead for
> small arrays, where OTOH inlining is a big benefit. 
As I mentioned recently, my tests show a big benefit from in-lining 
dot_product at any length, when it avoids the necessity of allocating a 
temporary vector.




More information about the Fortran mailing list