Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Chudyk <mateuszchudyk@gmail.com>2020-04-29 16:56:56 +0300
committerMateusz Chudyk <mateuszchudyk@gmail.com>2020-04-29 17:05:04 +0300
commite0829175a6c72ab96f4c1c44379c444978a9d57b (patch)
tree903de65c6cb21f0d2a89db2b45757d01b4b981f3
parent18c0a52f9ffba01387b5d0aa6028e4951fcc0aef (diff)
Fix assert in tile_test.inl
-rw-r--r--test/tile_test.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tile_test.inl b/test/tile_test.inl
index 1da3556..267870d 100644
--- a/test/tile_test.inl
+++ b/test/tile_test.inl
@@ -103,7 +103,7 @@ TEST_CASE("Reduce " INTGEMM_TEST_NAME, "[tile]") {
// Replicate the saturation behavior of the Signed8 kernel with 16-bit accumulation.
template <class Access> void Signed8ReferenceMult(Access access, Tile problem) {
- assert(!problem.inner % 2);
+ assert(!(problem.inner % 2));
for (Index a_row = 0; a_row < problem.A_rows; ++a_row) {
for (Index b_col = 0; b_col < problem.B_cols; ++b_col) {
Access acc = access.AAdd(a_row, 0).BAdd(0, b_col).CAdd(a_row, b_col);