aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2019-01-16 11:18:15 +0000
committerManuel Bottini <manuel.bottini@arm.com>2019-01-21 13:54:01 +0000
commit7ad6257ff09c94aade46ce5d02b644821235121a (patch)
tree246c3c266413ef431ff2794a46d5666ee92c8438 /src/core/CL/kernels
parent3de4c73ffee79570c876e191541afc79f143d7a0 (diff)
downloadComputeLibrary-7ad6257ff09c94aade46ce5d02b644821235121a.tar.gz
COMPMID-1727: CL: Implement Gather - support S32 indices
Change-Id: Ib0298dc75d25acf8db2262c0ab73ecaa6fec636c Reviewed-on: https://review.mlplatform.org/522 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels')
-rw-r--r--src/core/CL/kernels/CLGatherKernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLGatherKernel.cpp b/src/core/CL/kernels/CLGatherKernel.cpp
index 006e755b30..a4a8808f25 100644
--- a/src/core/CL/kernels/CLGatherKernel.cpp
+++ b/src/core/CL/kernels/CLGatherKernel.cpp
@@ -60,7 +60,7 @@ inline Status validate_arguments(const ITensorInfo *input, const ITensorInfo *in
ARM_COMPUTE_RETURN_ERROR_ON(output_shape.total_size() != output->tensor_shape().total_size());
}
- ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(indices, 1, DataType::U32);
+ ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(indices, 1, DataType::U32, DataType::S32);
return Status{};
}