diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-16 21:12:50 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-02-16 21:12:50 +0100 |
commit | 08bfb75a9d72b6b373d8f18e8be83fe4ea31015b (patch) | |
tree | 93c7861c51c12b07e47a0fc266a004cfd782017a /include | |
parent | bdc57221bd0279bcdb4f024df54f08a2fe1bb8d4 (diff) |
Added input-sanity checks for the OverrideParameters function
Diffstat (limited to 'include')
-rw-r--r-- | include/clblast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clblast.h b/include/clblast.h index e7b53d65..1350cb10 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -97,6 +97,8 @@ enum class StatusCode { kInsufficientMemoryY = -1007, // Vector Y's OpenCL buffer is too small // Custom additional status codes for CLBlast + kInvalidOverrideKernel = -2048, // Trying to override parameters for an invalid kernel + kMissingOverrideParameter = -2047, // Missing override parameter(s) for the target 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 |