From 4df2cf3177129d10500d30056bf8404418f703d6 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Thu, 2 Apr 2020 16:52:47 +0100 Subject: COMPMID-3315: Allow only QASYMM8 data type for EDSR graph example Change-Id: I5d90196b41e8c7eaf9a13ea2f7527eb87177e739 Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2975 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- examples/graph_edsr.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/graph_edsr.cpp b/examples/graph_edsr.cpp index dc26ded182..2f2a9fa4d7 100644 --- a/examples/graph_edsr.cpp +++ b/examples/graph_edsr.cpp @@ -63,6 +63,8 @@ public: return false; } + ARM_COMPUTE_EXIT_ON_MSG(common_params.data_type != DataType::QASYMM8, "Only QASYMM8 is supported for this graph example"); + // Print parameter values std::cout << common_params << std::endl; -- cgit v1.2.1