This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
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
Merge pull request
#2758
from martin-frbg/undef_shift
Fix GCC ubsan warnings in x86_64 complex dot and gemv_t kernels
tags/v0.3.11^2
Martin Kroeker
GitHub
5 years ago
parent
4847bfdddd
81dcfdcf39
commit
cd60080d4a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
4 changed files
with
10 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
kernel/x86_64/cdot.c
+3
-3
kernel/x86_64/cgemv_t_4.c
+2
-2
kernel/x86_64/zdot.c
+3
-3
kernel/x86_64/zgemv_t_4.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;
ix=0;
iy=0;
inc_x
<<= 1
;
inc_y
<<= 1
;
inc_x
*= 2
;
inc_y
*= 2
;
while(i < n)
{
+ 3
- 3
kernel/x86_64/cgemv_t_4.c
View File
@@ -233,9 +233,9 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i,
if ( m < 1 ) return(0);
if ( n < 1 ) return(0);
inc_x
<<= 1
;
inc_y
<<= 1
;
lda
<<= 1
;
inc_x
*= 2
;
inc_y
*= 2
;
lda
*= 2
;
lda4 = lda << 2;
xbuffer = buffer;
+ 2
- 2
kernel/x86_64/zdot.c
View File
@@ -140,8 +140,8 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO
i=0;
ix=0;
iy=0;
inc_x
<<= 1
;
inc_y
<<= 1
;
inc_x
*= 2
;
inc_y
*= 2
;
while(i < n)
{
+ 3
- 3
kernel/x86_64/zgemv_t_4.c
View File
@@ -235,9 +235,9 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i,
if ( m < 1 ) return(0);
if ( n < 1 ) return(0);
inc_x
<<= 1
;
inc_y
<<= 1
;
lda
<<= 1;
inc_x
*= 2
;
inc_y
*= 2
;
lda <<= 1;
lda4 = lda << 2;
xbuffer = buffer;
Write
Preview
Loading…
Cancel
Save