Skip to content

Commit

Permalink
Merge pull request #1943 from martin-frbg/issue1748
Browse files Browse the repository at this point in the history
Re-enable loop unrolling in trmv and remove the scary warning
  • Loading branch information
martin-frbg authored Dec 30, 2018
2 parents ccd5945 + 5a720cf commit 8643521
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions driver/level2/trmv_U.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,12 @@ int CNAME(BLASLONG m, FLOAT *a, BLASLONG lda, FLOAT *b, BLASLONG incb, FLOAT *bu
COPY_K(m, b, incb, buffer, 1);
}

/*FIXME the GEMV unrolling performed here was found to be broken, see issue 1332 */
/* Multiplying DTB size by 100 is just a quick-and-dirty hack to disable it for now[B */
for (is = 0; is < m; is += DTB_ENTRIES){

for (is = 0; is < m; is += DTB_ENTRIES * 100){

min_i = MIN(m - is, DTB_ENTRIES * 100);
min_i = MIN(m - is, DTB_ENTRIES);

#ifndef TRANSA
if (is > 0){
fprintf(stderr,"WARNING unrolling of the trmv_U loop may give wrong results\n");
if (is > 0){
GEMV_N(is, min_i, 0, dp1,
a + is * lda, lda,
B + is, 1,
Expand Down

0 comments on commit 8643521

Please sign in to comment.