Browse Source

Merge pull request #4145 from martin-frbg/issue4144

Restore zero-initialization of variables in generic ztrsm_utcopy
tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
49077e7bde
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      kernel/generic/ztrsm_utcopy_1.c
  2. +1
    -0
      kernel/generic/ztrsm_utcopy_2.c

+ 1
- 1
kernel/generic/ztrsm_utcopy_1.c View File

@@ -43,7 +43,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG offset, FLOAT

BLASLONG i, ii, j, jj;

FLOAT data01, data02;
FLOAT data01=0.0, data02=0.0;
FLOAT *a1;

lda *= 2;


+ 1
- 0
kernel/generic/ztrsm_utcopy_2.c View File

@@ -47,6 +47,7 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG offset, FLOAT
FLOAT data05, data06, data07, data08;
FLOAT *a1, *a2;

data01=data02=data07=data08=0.0;
lda *= 2;

jj = offset;


Loading…
Cancel
Save