diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-08-23 15:03:41 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | cdd68c02f5a5b5e25a9f6ebcd1b6bc12831e8b49 (patch) | |
tree | 013fa478105de73b0ccc96cd2fb545167d8d370a /examples/graph_mobilenet.cpp | |
parent | 31fa0d6b52fc8c189e559fe1525b61e55f6494de (diff) | |
download | ComputeLibrary-cdd68c02f5a5b5e25a9f6ebcd1b6bc12831e8b49.tar.gz |
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 <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/graph_mobilenet.cpp')
-rw-r--r-- | examples/graph_mobilenet.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/graph_mobilenet.cpp b/examples/graph_mobilenet.cpp index a8b0f4789c..cab578adf2 100644 --- a/examples/graph_mobilenet.cpp +++ b/examples/graph_mobilenet.cpp @@ -67,6 +67,9 @@ public: return false; } + // Checks + 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; |