aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLReverseKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLReverseKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLReverseKernel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CL/kernels/CLReverseKernel.cpp b/src/core/CL/kernels/CLReverseKernel.cpp
index 9a876258e9..b3c9bcafd1 100644
--- a/src/core/CL/kernels/CLReverseKernel.cpp
+++ b/src/core/CL/kernels/CLReverseKernel.cpp
@@ -71,6 +71,7 @@ void CLReverseKernel::configure(const ICLTensor *input, ICLTensor *output, const
void CLReverseKernel::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const ICLTensor *axis)
{
ARM_COMPUTE_ERROR_ON_NULLPTR(input, output, axis);
+ auto padding_info = get_padding_info({ input, output, axis });
_input = input;
_output = output;
@@ -109,6 +110,7 @@ void CLReverseKernel::configure(const CLCompileContext &compile_context, const I
_config_id += support::cpp11::to_string(input->info()->dimension(1));
_config_id += "_";
_config_id += support::cpp11::to_string(input->info()->dimension(2));
+ ARM_COMPUTE_ERROR_ON(has_padding_changed(padding_info));
}
Status CLReverseKernel::validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *axis)