Browse Source

convert the beta=0 branch to a for loop as well

tags/v0.3.29
Martin Kroeker GitHub 8 months ago
parent
commit
d91d4fa6e9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      kernel/generic/zgemm_beta.c

+ 3
- 4
kernel/generic/zgemm_beta.c View File

@@ -58,8 +58,8 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1,
c_offset = c;

if (beta_r == 0. && beta_i == 0.) {
j = n;
do {
for (j=n;j>0;j--) {
c_offset1 = c_offset;
c_offset += ldc;

@@ -88,8 +88,7 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1,
i--;
} while (i > 0);
}
j --;
} while (j > 0);
}

} else {



Loading…
Cancel
Save