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