Skip to content

Commit 89702e1

Browse files
author
Chip Kerchner
committed
Fix zero element GEMV test.
1 parent 77f85c7 commit 89702e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compare_sgemm_sbgemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ main (int argc, char *argv[])
202202
return ret;
203203
}
204204

205-
k = 1;
206205
for (x = 1; x <= loop; x++)
207206
{
207+
k = (x == 0) ? 0 : 1;
208208
float *A = (float *)malloc_safe(x * x * sizeof(FLOAT));
209209
float *B = (float *)malloc_safe(x * sizeof(FLOAT));
210210
float *C = (float *)malloc_safe(x * sizeof(FLOAT));

0 commit comments

Comments
 (0)