aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h')
-rw-r--r--tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h b/tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h
index e55e092240..293ceff5d1 100644
--- a/tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h
+++ b/tests/benchmark/fixtures/GEMMInterleave4x4Fixture.h
@@ -69,6 +69,12 @@ public:
gemm.run();
}
+ void sync()
+ {
+ sync_if_necessary<TensorType>();
+ sync_tensor_if_necessary<TensorType>(b);
+ }
+
void teardown()
{
a.allocator()->free();