summaryrefslogtreecommitdiff
path: root/src/utilities/clblast_exceptions.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-11-13 21:11:31 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-11-13 21:11:31 +0100
commit03ebf14b97707f425519f46c3bb514f8ef5c93ad (patch)
tree220921c7d7a170faac6ed585395a640f34ce64f6 /src/utilities/clblast_exceptions.hpp
parent4bac1287f2d49bece72822bf6032e4da56a2dd2d (diff)
Made the exception dispatch function optionally silent
Diffstat (limited to 'src/utilities/clblast_exceptions.hpp')
-rw-r--r--src/utilities/clblast_exceptions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utilities/clblast_exceptions.hpp b/src/utilities/clblast_exceptions.hpp
index a790be9c..5f2edbae 100644
--- a/src/utilities/clblast_exceptions.hpp
+++ b/src/utilities/clblast_exceptions.hpp
@@ -37,7 +37,7 @@ class RuntimeErrorCode : public ErrorCode<RuntimeError, StatusCode> {
// =================================================================================================
// Handles (most of the) runtime exceptions and converts them to StatusCode
-StatusCode DispatchException();
+StatusCode DispatchException(const bool silent = false);
// Handles remaining exceptions and converts them to StatusCode::kUnhandledError
StatusCode DispatchExceptionForC();