From 8b3e62bb515370d4735e99db3c7ea789a2e65ea3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 18 Dec 2018 07:12:11 +0530 Subject: [PATCH] Add default block in CLReduceOperation kernel (#4078) This patch adds default block in CLReduceOperation kernel Signed-off-by: prasannar --- libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp b/libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp index e2da6c6..9b13a0d 100644 --- a/libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp +++ b/libs/ARMComputeEx/src/core/CL/kernels/CLReduceOperationKernel.cpp @@ -111,6 +111,11 @@ void CLReduceOperationKernel::configure(const ICLTensor *input, ICLTensor *outpu kernel_name = "reduce_min_max"; op_code = 3; } + else + { + throw std::runtime_error("Not supported, yet"); + } + // Set kernel build options std::set build_opts; build_opts.emplace("-DDATA_TYPE=" + get_cl_type_from_data_type(output_info->data_type())); -- 2.7.4