aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLFFTScaleKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLFFTScaleKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLFFTScaleKernel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CL/kernels/CLFFTScaleKernel.cpp b/src/core/CL/kernels/CLFFTScaleKernel.cpp
index f82aeca34b..edcf5d5a5d 100644
--- a/src/core/CL/kernels/CLFFTScaleKernel.cpp
+++ b/src/core/CL/kernels/CLFFTScaleKernel.cpp
@@ -85,6 +85,7 @@ void CLFFTScaleKernel::configure(const CLCompileContext &compile_context, ICLTen
{
ARM_COMPUTE_ERROR_ON_NULLPTR(input);
ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), (output != nullptr) ? output->info() : nullptr));
+ auto padding_info = get_padding_info({ input, output });
_input = input;
_output = output;
@@ -116,6 +117,7 @@ void CLFFTScaleKernel::configure(const CLCompileContext &compile_context, ICLTen
_config_id += support::cpp11::to_string(input->info()->dimension(0));
_config_id += "_";
_config_id += support::cpp11::to_string(input->info()->dimension(1));
+ ARM_COMPUTE_ERROR_ON(has_padding_changed(padding_info));
}
Status CLFFTScaleKernel::validate(const ITensorInfo *input, const ITensorInfo *output, const FFTScaleKernelInfo &config)