Browse Source

fix uninitialized variables i

tags/v0.3.8^2
AbdelRauf 6 years ago
parent
commit
847c20c9b7
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      kernel/power/cgemv_n.c
  2. +2
    -2
      kernel/power/cgemv_t.c

+ 2
- 2
kernel/power/cgemv_n.c View File

@@ -181,7 +181,7 @@ static void cgemv_kernel_4x1(BLASLONG n, FLOAT *ap, FLOAT *x, FLOAT *y) {
static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest, FLOAT alpha_r, FLOAT alpha_i) {
BLASLONG i;
BLASLONG i=0;
if (inc_dest != 2) {
@@ -246,7 +246,7 @@ static void add_y(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_dest, FLOAT
int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT * buffer) {
BLASLONG i;
BLASLONG i=0;
FLOAT *a_ptr;
FLOAT *x_ptr;
FLOAT *y_ptr;


+ 2
- 2
kernel/power/cgemv_t.c View File

@@ -276,8 +276,8 @@ static void copy_x(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_src) {
}
int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha_r, FLOAT alpha_i, FLOAT *a, BLASLONG lda, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLONG inc_y, FLOAT *buffer) {
BLASLONG i;
BLASLONG j;
BLASLONG i=0;
BLASLONG j=0;
FLOAT *a_ptr;
FLOAT *x_ptr;
FLOAT *y_ptr;


Loading…
Cancel
Save