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
Multiply by two rather than left shift by one place
fixes GCC ubsan report of "left shift of negative value -2" in the BLAS tests
tags/v0.3.11^2
Martin Kroeker
GitHub
5 years ago
parent
9eb897cc01
commit
aa3a1e7d8c
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
kernel/x86_64/cdot.c
+ 2
- 2
kernel/x86_64/cdot.c
View File
@@ -141,8 +141,8 @@ OPENBLAS_COMPLEX_FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLA
i=0;
i=0;
ix=0;
ix=0;
iy=0;
iy=0;
inc_x
<<= 1
;
inc_y
<<= 1
;
inc_x
*= 2
;
inc_y
*= 2
;
while(i < n)
while(i < n)
{
{
Write
Preview
Loading…
Cancel
Save