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 /include/clblast_c.h | |
parent | 9b596820d2dd833648706bff505b459c58f45b4b (diff) | |
parent | 56f300607b1d0b81ab3269894fda5a066c46cdeb (diff) |
Merge pull request #117 from intelfx/exceptions
Convert to use C++ exceptions internally
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r-- | include/clblast_c.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h index 33fb4acf..2805c20f 100644 --- a/include/clblast_c.h +++ b/include/clblast_c.h @@ -76,13 +76,14 @@ typedef enum StatusCode_ { kInsufficientMemoryY = -1007, // Vector Y's OpenCL buffer is too small // Custom additional status codes for CLBlast - kKernelLaunchError = -2048, // Problem occurred when enqueuing the kernel - kKernelRunError = -2047, // Problem occurred while running the kernel kInvalidLocalMemUsage = -2046, // Not enough local memory available on this device kNoHalfPrecision = -2045, // Half precision (16-bits) not supported by the device kNoDoublePrecision = -2044, // Double precision (64-bits) not supported by the device kInvalidVectorScalar = -2043, // The unit-sized vector is not a valid OpenCL buffer kInsufficientMemoryScalar = -2042, // The unit-sized vector's OpenCL buffer is too small + kDatabaseError = -2041, // Entry for the device was not found in the database + kUnknownError = -2040, // A catch-all error code representing an unspecified error + kUnexpectedError = -2039, // A catch-all error code representing an unexpected exception } StatusCode; // Matrix layout and transpose types |