diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-27 11:37:55 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-27 11:37:55 +0200 |
commit | 3555cd043654ec24ff325bd6205281af790e50d2 (patch) | |
tree | c36cfd23550a3eb3b435cca64c29f58f77328173 /include/clblast.h | |
parent | c8e28a33c0b786aa3772b6f6d822245b5f2ad9ea (diff) |
All CLBlast enum constants now have the same raw values as in the cblas standard
Diffstat (limited to 'include/clblast.h')
-rw-r--r-- | include/clblast.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clblast.h b/include/clblast.h index 57948581..f73acb57 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -73,11 +73,11 @@ enum class StatusCode { }; // Matrix layout and transpose types -enum class Layout { kRowMajor, kColMajor }; -enum class Transpose { kNo, kYes, kConjugate }; -enum class Side { kLeft, kRight }; -enum class Triangle { kUpper, kLower }; -enum class Diagonal { kUnit, kNonUnit }; +enum class Layout { kRowMajor = 101, kColMajor = 102 }; +enum class Transpose { kNo = 111, kYes = 112, kConjugate = 113 }; +enum class Triangle { kUpper = 121, kLower = 122 }; +enum class Diagonal { kNonUnit = 131, kUnit = 132 }; +enum class Side { kLeft = 141, kRight = 142 }; // Precision scoped enum (values in bits) enum class Precision { kHalf = 16, kSingle = 32, kDouble = 64, |