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