From 80eb803fc01764cd32cb2229088ef896769eea09 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Tue, 27 Feb 2018 11:22:17 +0000 Subject: COMPMID-765: Add missing calls to validate_and_configure_window Change-Id: I18f61c9dcab715a778e856de6975d570fa26d419 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122363 Tested-by: Jenkins Reviewed-by: Anthony Barbier Reviewed-by: Georgios Pinitas --- src/core/CL/kernels/CLCol2ImKernel.cpp | 2 ++ src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/core') diff --git a/src/core/CL/kernels/CLCol2ImKernel.cpp b/src/core/CL/kernels/CLCol2ImKernel.cpp index eacfa4c110..8ccec06c37 100644 --- a/src/core/CL/kernels/CLCol2ImKernel.cpp +++ b/src/core/CL/kernels/CLCol2ImKernel.cpp @@ -144,7 +144,9 @@ void CLCol2ImKernel::configure(const ICLTensor *input, ICLTensor *output, std::p Status CLCol2ImKernel::validate(const ITensorInfo *input, const ITensorInfo *output, std::pair convolved_dims) { + ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(input, output, convolved_dims)); + ARM_COMPUTE_RETURN_ON_ERROR(validate_and_configure_window(input->clone().get(), output->clone().get(), convolved_dims).first); return Status{}; } diff --git a/src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp b/src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp index 3fe956d759..4b4814f15d 100644 --- a/src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp +++ b/src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp @@ -116,7 +116,9 @@ void CLGEMMMatrixAdditionKernel::configure(const ICLTensor *input, ICLTensor *ou Status CLGEMMMatrixAdditionKernel::validate(const ITensorInfo *input, const ITensorInfo *output, const float beta) { + ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); ARM_COMPUTE_RETURN_ERROR_ON(validate_arguments(input, output, beta)); + ARM_COMPUTE_RETURN_ERROR_ON(validate_and_configure_window(input->clone().get(), output->clone().get()).first); return Status{}; } -- cgit v1.2.1