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