aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/fixtures/ScaleFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmark/fixtures/ScaleFixture.h')
-rw-r--r--tests/benchmark/fixtures/ScaleFixture.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/benchmark/fixtures/ScaleFixture.h b/tests/benchmark/fixtures/ScaleFixture.h
index b2fbd9c3b6..81f34bd538 100644
--- a/tests/benchmark/fixtures/ScaleFixture.h
+++ b/tests/benchmark/fixtures/ScaleFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2020, 2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -40,7 +40,6 @@ template <typename TensorType, typename Function, typename Accessor>
class ScaleFixture : public framework::Fixture
{
public:
- template <typename...>
void setup(TensorShape shape, DataType data_type, DataLayout data_layout, InterpolationPolicy policy, BorderMode border_mode, SamplingPolicy sampling_policy)
{
constexpr float max_width = 8192.0f;
@@ -75,7 +74,7 @@ public:
dst = create_tensor<TensorType>(shape_scaled, data_type);
// Create and configure function
- scale_func.configure(&src, &dst, policy, border_mode, constant_border_value, sampling_policy);
+ scale_func.configure(&src, &dst, ScaleKernelInfo{ policy, border_mode, constant_border_value, sampling_policy, false });
// Allocate tensors
src.allocator()->allocate();