From 031f4dfe9677f64039f1efdc43f2802dd52a52c4 Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Sat, 14 Sep 2019 19:13:54 -0400 Subject: [PATCH] no performance regression --- tests/common/src/dot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/src/dot.h b/tests/common/src/dot.h index 7511eda9a..8521cd0a6 100644 --- a/tests/common/src/dot.h +++ b/tests/common/src/dot.h @@ -64,7 +64,7 @@ void dot(TYPE * A, TYPE * B, TYPE * C, // epilogue int rxc[TM] = ridx * TM + 0 ... TM; int ryc[TN] = ridy * TN + 0 ... TN; - TYPE* pc[TM, TN] = C + ryc[newaxis, :] + rxc[:, newaxis] * ldc; + TYPE* pc[TM, TN] = C + rxc[:, newaxis] * ldc + ryc[newaxis, :]; *pc = c; } )";