From cdd68c02f5a5b5e25a9f6ebcd1b6bc12831e8b49 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 23 Aug 2018 15:03:41 +0100 Subject: COMPMID-1534: Prevent graphs with missing NEON F16 features from running Change-Id: I9954e4240cf621819b2b028972e4cd4065485213 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145399 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- examples/graph_inception_v4.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/graph_inception_v4.cpp') diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp index 1ca8c5fbea..b6c28b4c3f 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -65,7 +65,8 @@ public: } // Checks - ARM_COMPUTE_EXIT_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "Unsupported data type!"); + ARM_COMPUTE_EXIT_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "QASYMM8 not supported for this graph"); + ARM_COMPUTE_EXIT_ON_MSG(common_params.data_type == DataType::F16 && common_params.target == Target::NEON, "F16 NEON not supported for this graph"); // Print parameter values std::cout << common_params << std::endl; -- cgit v1.2.1