aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/graph_edsr.cpp2
1 files changed, 2 insertions, 0 deletions
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;