Induced method turned off, fix for beta=0 & C = NAN

1. Induced Method turned off, till the path fully tested for different alpha,beta conditions.
2. Fix for Beta =0, and C = NAN done.

Change-Id: I5a7bd1393ac245c2ebb72f9a634728af4c0d4000
This commit is contained in:
Madan mohan Manokar
2021-09-10 09:12:59 +05:30
committed by Dipal M Zambare
parent f1291fc957
commit 3dda4ebf22
2 changed files with 17 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
//
// Define BLAS-to-BLIS interfaces.
//
#define ENABLE_INDUCED_METHOD 1
#define ENABLE_INDUCED_METHOD 0
#ifdef BLIS_BLAS3_CALLS_TAPI
#undef GENTFUNC

View File

@@ -1278,7 +1278,22 @@ void bli_3m_sqp_packC_real_imag(double* pc,
}
}
}
else /* handles alpha or beta is not equal +/- 1.0 */
else if(mul==0) /* handles alpha or beta is equal to zero */
{
double br_ = 0;
double bi_ = 0;
for (j = 0; j < n; j++)
{
for (p = 0; p < (m*2); p += 2)// (real + imag)*m
{
*pcr = br_;
*pci = bi_;
pcr++; pci++;
}
pc = pc + ldc;
}
}
else /* handles alpha or beta is not equal +/- 1.0 and zero */
{
for (j = 0; j < n; j++)
{