@@ -251,11 +251,11 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
|
||||
if ((k == 0) || (alpha == NULL)) return 0;
|
||||
|
||||
#if !defined(XDOUBLE) || !defined(QUAD_PRECISION)
|
||||
if ((alpha[0] == ZERO)
|
||||
if ( alpha[0] == ZERO
|
||||
#ifdef COMPLEX
|
||||
&& (alpha[1] == ZERO)
|
||||
&& alpha[1] == ZERO
|
||||
#endif
|
||||
) return 0;
|
||||
) return 0;
|
||||
#else
|
||||
if (((alpha[0].x[0] | alpha[0].x[1]
|
||||
#ifdef COMPLEX
|
||||
|
||||
@@ -154,9 +154,9 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa, FLO
|
||||
|
||||
if ((k == 0) || (alpha == NULL)) return 0;
|
||||
|
||||
if ((alpha[0] == ZERO)
|
||||
if (alpha[0] == ZERO
|
||||
#ifdef COMPLEX
|
||||
&& (alpha[1] == ZERO)
|
||||
&& alpha[1] == ZERO
|
||||
#endif
|
||||
) return 0;
|
||||
|
||||
|
||||
@@ -158,9 +158,9 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa, FLO
|
||||
|
||||
if ((k == 0) || (alpha == NULL)) return 0;
|
||||
|
||||
if ((alpha[0] == ZERO)
|
||||
if (alpha[0] == ZERO
|
||||
#if defined(COMPLEX) && !defined(HERK)
|
||||
&& (alpha[1] == ZERO)
|
||||
&& alpha[1] == ZERO
|
||||
#endif
|
||||
) return 0;
|
||||
|
||||
|
||||
@@ -200,9 +200,9 @@ static int inner_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
|
||||
|
||||
if ((k == 0) || (alpha == NULL)) return 0;
|
||||
|
||||
if ((alpha[0] == ZERO)
|
||||
if (alpha[0] == ZERO
|
||||
#if defined(COMPLEX) && !defined(HERK)
|
||||
&& (alpha[1] == ZERO)
|
||||
&& alpha[1] == ZERO
|
||||
#endif
|
||||
) return 0;
|
||||
|
||||
|
||||
@@ -295,9 +295,9 @@ static int inner_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
|
||||
|
||||
/* Return early if no more computation is needed */
|
||||
if ((k == 0) || (alpha == NULL)) return 0;
|
||||
if ((alpha[0] == ZERO)
|
||||
if (alpha[0] == ZERO
|
||||
#ifdef COMPLEX
|
||||
&& (alpha[1] == ZERO)
|
||||
&& alpha[1] == ZERO
|
||||
#endif
|
||||
) return 0;
|
||||
|
||||
|
||||
@@ -237,7 +237,7 @@ static inline void get_cpumap(int node, unsigned long * node_info) {
|
||||
if(k!=0){
|
||||
name[k]='\0';
|
||||
affinity[count++] = strtoul(name, &dummy, 16);
|
||||
k=0;
|
||||
// k=0;
|
||||
}
|
||||
// 0-63bit -> node_info[0], 64-128bit -> node_info[1] ....
|
||||
// revert the sequence
|
||||
@@ -293,7 +293,7 @@ static inline void get_share(int cpu, int level, unsigned long * share) {
|
||||
if(k!=0){
|
||||
name[k]='\0';
|
||||
affinity[count++] = strtoul(name, &dummy, 16);
|
||||
k=0;
|
||||
// k=0;
|
||||
}
|
||||
// 0-63bit -> node_info[0], 64-128bit -> node_info[1] ....
|
||||
// revert the sequence
|
||||
|
||||
Reference in New Issue
Block a user