This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
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
Fix out-of-bounds accesses where the data should be zero anyway
tags/v0.3.0
Martin Kroeker
GitHub
8 years ago
parent
00740c0e34
commit
f96afd94b0
1 changed files
with
10 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-4
kernel/generic/ztrmm_utcopy_8.c
+ 10
- 4
kernel/generic/ztrmm_utcopy_8.c
View File
@@ -828,11 +828,17 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLON
b[ 0] = ONE;
b[ 1] = ZERO;
#else
b[ 0] = *(a01 + 0);
b[ 1] = *(a01 + 1);
// out-of-bounds memory accesses, see issue 601
// b[ 0] = *(a01 + 0);
// b[ 1] = *(a01 + 1);
b[0]=ZERO;
b[1]=ZERO;
#endif
b[ 2] = *(a02 + 0);
b[ 3] = *(a02 + 1);
// out-of-bounds memory accesses, see issue 601
// b[ 2] = *(a02 + 0);
// b[ 3] = *(a02 + 1);
b[2]=ZERO;
b[3]=ZERO;
b += 4;
}
posY += 2;
Write
Preview
Loading…
Cancel
Save