From 8f5802f1ee432445ed37344060ffa23916f7f29f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 22 Feb 2019 11:08:32 +0000 Subject: COMPMID-1710: Add FP16 support checks. Change-Id: I6291847935996859ab245160714f9fbefb03b5be Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/761 Tested-by: Arm Jenkins Reviewed-by: Gian Marco Iodice --- src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp b/src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp index f16422f815..ab95ddca54 100644 --- a/src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp +++ b/src/core/CL/kernels/CLGenerateProposalsLayerKernel.cpp @@ -42,6 +42,7 @@ namespace Status validate_arguments(const ITensorInfo *anchors, const ITensorInfo *all_anchors, const ComputeAnchorsInfo &info) { ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(anchors, all_anchors); + ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED(anchors); ARM_COMPUTE_RETURN_ERROR_ON(anchors->dimension(0) != info.values_per_roi()); ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(anchors, DataType::F16, DataType::F32); ARM_COMPUTE_RETURN_ERROR_ON(anchors->num_dimensions() > 2); -- cgit v1.2.1