~ubuntu-branches/ubuntu/vivid/atlas/vivid

« back to all changes in this revision

Viewing changes to tune/blas/ger/ATL_ger.c

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-09-17 23:31:54 UTC
  • mto: (2.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090917233154-9esw88ub02twbuab
Tags: upstream-3.8.3
ImportĀ upstreamĀ versionĀ 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *             Automatically Tuned Linear Algebra Software v3.6.0
 
2
 *             Automatically Tuned Linear Algebra Software v3.8.3
3
3
 *                    (C) Copyright 1999 R. Clint Whaley
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
79
79
   if (incX != 1 || !SCALAR_IS_ONE(alpha))
80
80
   {
81
81
/*
82
 
 *    Apply alpha to Y if X has stride 1 & Y is smaller
 
82
 *    Apply alpha to Y if X has stride 1 & Y is MUCH smaller
 
83
 *    The LAPACK barfs if you  switch which vector alpha is applied to,
 
84
 *    since it tests tiny matrices, so make it apply to X when they are
 
85
 *    close to even
83
86
 */
84
 
      if (incX == 1 && N < M)
 
87
      if (incX == 1 && N < (M>>4))
85
88
      {
86
89
         vx = malloc(ATL_Cachelen + ATL_MulBySize(N));
87
90
         ATL_assert(vx);