diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-22 15:05:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 15:05:12 +0200 |
commit | 280698d0767219e174b12e51e8e42b228bbf28e9 (patch) | |
tree | 25db4d2d360cc161ca7d8e563c847faf08a745a0 /src/utilities.hpp | |
parent | 9b596820d2dd833648706bff505b459c58f45b4b (diff) | |
parent | 56f300607b1d0b81ab3269894fda5a066c46cdeb (diff) |
Merge pull request #117 from intelfx/exceptions
Convert to use C++ exceptions internally
Diffstat (limited to 'src/utilities.hpp')
-rw-r--r-- | src/utilities.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/utilities.hpp b/src/utilities.hpp index 038a8a96..a7fcbd25 100644 --- a/src/utilities.hpp +++ b/src/utilities.hpp @@ -24,6 +24,7 @@ #include "clblast.h" #include "clblast_half.h" #include "clpp11.hpp" +#include "clblast_exceptions.hpp" #include "msvc.hpp" @@ -207,11 +208,6 @@ bool CheckArgument(const int argc, char *argv[], std::string &help, const std::s // ================================================================================================= -// Helper function to check for errors in the status code -inline bool ErrorIn(const StatusCode s) { return (s != StatusCode::kSuccess); } - -// ================================================================================================= - // Returns a random number to be used as a seed unsigned int GetRandomSeed(); |