aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2023-04-27 12:06:04 +0000
committerMatthew Bentham <matthew.bentham@arm.com>2023-05-05 08:18:31 +0000
commit76e7b63401bf01875de8beda2198df36ca6a7bc9 (patch)
tree520793dede8e92d15e78e42dcd55f7a531544e8d /src/runtime
parent352c07ddd49842b5c3a8e5a2b5a90832bfb70091 (diff)
downloadComputeLibrary-76e7b63401bf01875de8beda2198df36ca6a7bc9.tar.gz
Make NECast::validate take args by const pointer
Change-Id: I5d343e959942cb2ce48442d95d7c62aecd6a34d0 Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9573 Reviewed-by: SiCong Li <sicong.li@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/NEON/functions/NECast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/NEON/functions/NECast.cpp b/src/runtime/NEON/functions/NECast.cpp
index a58d4e5f69..f93a6ea745 100644
--- a/src/runtime/NEON/functions/NECast.cpp
+++ b/src/runtime/NEON/functions/NECast.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2021 Arm Limited.
+ * Copyright (c) 2019-2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -55,7 +55,7 @@ void NECast::configure(ITensor *input, ITensor *output, ConvertPolicy policy)
_impl->op->configure(_impl->src->info(), _impl->dst->info(), policy);
}
-Status NECast::validate(ITensorInfo *input, ITensorInfo *output, ConvertPolicy policy)
+Status NECast::validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy)
{
return cpu::CpuCast::validate(input, output, policy);
}