summaryrefslogtreecommitdiff
path: root/include/clblast_c.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 11:37:55 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 11:37:55 +0200
commit3555cd043654ec24ff325bd6205281af790e50d2 (patch)
treec36cfd23550a3eb3b435cca64c29f58f77328173 /include/clblast_c.h
parentc8e28a33c0b786aa3772b6f6d822245b5f2ad9ea (diff)
All CLBlast enum constants now have the same raw values as in the cblas standard
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r--include/clblast_c.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h
index 92f4afe5..8c0a0792 100644
--- a/include/clblast_c.h
+++ b/include/clblast_c.h
@@ -82,11 +82,11 @@ typedef enum StatusCode_ {
} StatusCode;
// Matrix layout and transpose types
-typedef enum Layout_ { kRowMajor, kColMajor } Layout;
-typedef enum Transpose_ { kNo, kYes, kConjugate } Transpose;
-typedef enum Side_ { kLeft, kRight } Side;
-typedef enum Triangle_ { kUpper, kLower } Triangle;
-typedef enum Diagonal_ { kUnit, kNonUnit } Diagonal;
+typedef enum Layout_ { kRowMajor = 101, kColMajor = 102 } Layout;
+typedef enum Transpose_ { kNo = 111, kYes = 112, kConjugate = 113 } Transpose;
+typedef enum Triangle_ { kUpper = 121, kLower = 122 } Triangle;
+typedef enum Diagonal_ { kNonUnit = 131, kUnit = 132 } Diagonal;
+typedef enum Side_ { kLeft = 141, kRight = 142 } Side;
// Precision scoped enum (values in bits)
typedef enum Precision_ { kHalf = 16, kSingle = 32, kDouble = 64,