aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Exceptions.hpp
diff options
context:
space:
mode:
authorDavid Monahan <david.monahan@arm.com>2020-02-26 10:24:03 +0000
committerDavid Monahan <david.monahan@arm.com>2020-03-03 07:26:24 +0000
commitb015e5db20e29825caefa05d828fbeed73119b19 (patch)
tree7c5814635aeeabff69f1595de7ea663b3ef58ff6 /include/armnn/Exceptions.hpp
parent03fbeaf532f2575381edc2336f834973117f6e0f (diff)
downloadarmnn-b015e5db20e29825caefa05d828fbeed73119b19.tar.gz
Modifying the IBackendProfilingContext interface to return a bool on
EnableProfiling and adding error checking to the Runtime Invocation Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I65b8bb16c6f1c7d668de31238ce0408a48974997
Diffstat (limited to 'include/armnn/Exceptions.hpp')
-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 066f59f792..cb62079b76 100644
--- a/include/armnn/Exceptions.hpp
+++ b/include/armnn/Exceptions.hpp
@@ -137,6 +137,12 @@ class TimeoutException : public Exception
using Exception::Exception;
};
+class BackendProfilingException : public Exception
+{
+public:
+ using Exception::Exception;
+};
+
template <typename ExceptionType>
void ConditionalThrow(bool condition, const std::string& message)
{