diff options
Diffstat (limited to 'tests/benchmark/fixtures/GEMMFixture.h')
-rw-r--r-- | tests/benchmark/fixtures/GEMMFixture.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/benchmark/fixtures/GEMMFixture.h b/tests/benchmark/fixtures/GEMMFixture.h index 0c41c67af1..d1eded074c 100644 --- a/tests/benchmark/fixtures/GEMMFixture.h +++ b/tests/benchmark/fixtures/GEMMFixture.h @@ -69,6 +69,12 @@ public: gemm.run(); } + void sync() + { + sync_if_necessary<TensorType>(); + sync_tensor_if_necessary<TensorType>(dst); + } + void teardown() { a.allocator()->free(); |