This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
remove surplus parentheses to silence clang5
tags/v0.3.0
Andrew
7 years ago
parent
4d0b005e5b
commit
11a627c54e
5 changed files
with
11 additions
and
11 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
driver/level3/level3.c
+2
-2
driver/level3/level3_syr2k.c
+2
-2
driver/level3/level3_syrk.c
+2
-2
driver/level3/level3_syrk_threaded.c
+2
-2
driver/level3/level3_thread.c
+ 3
- 3
driver/level3/level3.c
View File
@@ -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
+ 2
- 2
driver/level3/level3_syr2k.c
View File
@@ -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;
+ 2
- 2
driver/level3/level3_syrk.c
View File
@@ -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;
+ 2
- 2
driver/level3/level3_syrk_threaded.c
View File
@@ -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;
+ 2
- 2
driver/level3/level3_thread.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save