aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2021-08-26 11:08:01 +0100
committerFinn Williams <Finn.Williams@arm.com>2021-08-26 11:09:32 +0100
commitdbf5f314f9498afa756e2637251a89a5291abde0 (patch)
tree2d974a44df4998291e2f2b9dc17c5d1e905f898e /include
parent4e62750a2171a7bccf0c9c37514d07d3d222d1d5 (diff)
downloadarmnn-dbf5f314f9498afa756e2637251a89a5291abde0.tar.gz
IVGCVSW-6311 Add the pre-import backend capability
* Update acl and ref backend capabilities * Add check for AsyncExecution capability in LoadedNetwork * Add new exception for capabilities Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I2f053c845a64f336e96d452793639c6e0d3eaa89
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Exceptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp
index e3f086e376..1a123bfbce 100644
--- a/include/armnn/Exceptions.hpp
+++ b/include/armnn/Exceptions.hpp
@@ -155,6 +155,12 @@ public:
using Exception::Exception;
};
+class BackendCapabilityException : public Exception
+{
+public:
+ using Exception::Exception;
+};
+
template <typename ExceptionType>
void ConditionalThrow(bool condition, const std::string& message)
{