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