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