aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/cl/kernels/ClCastKernel.cpp
diff options
context:
space:
mode:
authorPablo Marquez Tello <pablo.tello@arm.com>2023-07-12 14:29:58 +0100
committerPablo Marquez Tello <pablo.tello@arm.com>2023-07-13 15:43:57 +0000
commit205ba243309baaec4bccfc82229139978d1a354e (patch)
tree6f3f0cd00b969b77b89ce612d85a339c6644cc56 /src/gpu/cl/kernels/ClCastKernel.cpp
parenta359ee9ff349448a744140b352444171efc29899 (diff)
downloadComputeLibrary-205ba243309baaec4bccfc82229139978d1a354e.tar.gz
Added S64/U64 support for the input in CLCast
* Partially resolves MLCE-1089 Change-Id: Ie3d2fc2f755ae99cdb17b57cc90bb3f99a1843e0 Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9909 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/gpu/cl/kernels/ClCastKernel.cpp')
-rw-r--r--src/gpu/cl/kernels/ClCastKernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/cl/kernels/ClCastKernel.cpp b/src/gpu/cl/kernels/ClCastKernel.cpp
index 6baa31e710..991867d1f3 100644
--- a/src/gpu/cl/kernels/ClCastKernel.cpp
+++ b/src/gpu/cl/kernels/ClCastKernel.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2022 Arm Limited.
+ * Copyright (c) 2016-2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -54,7 +54,7 @@ Status validate_arguments(const ITensorInfo *src, const ITensorInfo *dst, Conver
1,
DataType::U8, DataType::S8, DataType::QASYMM8, DataType::QASYMM8_SIGNED, DataType::QSYMM8_PER_CHANNEL, DataType::S16,
DataType::U16, DataType::U32, DataType::S32, DataType::F16,
- DataType::F32);
+ DataType::F32, DataType::S64, DataType::U64);
ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(dst,
1,
DataType::U8, DataType::S8, DataType::QASYMM8, DataType::S16,