diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CL/kernels/CLPermuteKernel.cpp | 2 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLPermute.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/kernels/CLPermuteKernel.cpp b/src/core/CL/kernels/CLPermuteKernel.cpp index 02fc667aee..d20bee13f5 100644 --- a/src/core/CL/kernels/CLPermuteKernel.cpp +++ b/src/core/CL/kernels/CLPermuteKernel.cpp @@ -125,7 +125,7 @@ void CLPermuteKernel::configure(const ICLTensor *input, ICLTensor *output, const Status CLPermuteKernel::validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm) { ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(input, output); - ARM_COMPUTE_RETURN_ERROR_ON(validate_arguments(input, output, perm)); + ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(input, output, perm)); return Status{}; } diff --git a/src/runtime/CL/functions/CLPermute.cpp b/src/runtime/CL/functions/CLPermute.cpp index 146856cd77..55b76495b3 100644 --- a/src/runtime/CL/functions/CLPermute.cpp +++ b/src/runtime/CL/functions/CLPermute.cpp @@ -39,6 +39,6 @@ void CLPermute::configure(const ICLTensor *input, ICLTensor *output, const Permu Status CLPermute::validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm) { - ARM_COMPUTE_RETURN_ERROR_ON(CLPermuteKernel::validate(input, output, perm)); + ARM_COMPUTE_RETURN_ON_ERROR(CLPermuteKernel::validate(input, output, perm)); return Status{}; -}
\ No newline at end of file +} |