diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2018-02-27 11:22:17 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:48:33 +0000 |
commit | 80eb803fc01764cd32cb2229088ef896769eea09 (patch) | |
tree | e5b94048514a5449d9a7c56f2997bd3de053dadf /src/core | |
parent | 8db8318e2292d79f1971ae72198a3031f8ea65bd (diff) | |
download | ComputeLibrary-80eb803fc01764cd32cb2229088ef896769eea09.tar.gz |
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 <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/CL/kernels/CLCol2ImKernel.cpp | 2 | ||||
-rw-r--r-- | src/core/CL/kernels/CLGEMMMatrixAdditionKernel.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
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<unsigned int, unsigned int> 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{}; } |