summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2020-05-12 14:43:25 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2020-05-12 14:43:25 +0200
commit396ac0278a095e76c963f0da8709698b7bf19e1f (patch)
tree9b6ea0e667a9b0e19f45a063657efa6dae1745c8
parent0826bfe683e7cdc1c68224a923715928fc07e753 (diff)
Added CLBLAST_VERSION_MAJOR/MINOR/PATCH defines in headers to store version numbering
-rw-r--r--CHANGELOG1
-rw-r--r--include/clblast.h5
-rw-r--r--include/clblast_c.h5
-rwxr-xr-xscripts/generator/generator.py2
4 files changed, 12 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 81d7be6c..9cedb779 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@ Development version (next version)
- Changed XAMAX/XAMIN to more likely return first rather than last min/max index, updated API docs
- Fixed a bug in the tuners related to global workgroup size not being a multiple of the local
- Added batched routines to pyclblast
+- Added CLBLAST_VERSION_MAJOR/MINOR/PATCH defines in headers to store version numbering
- Various minor fixes and enhancements
Version 1.5.1
diff --git a/include/clblast.h b/include/clblast.h
index 7a82361c..296f3987 100644
--- a/include/clblast.h
+++ b/include/clblast.h
@@ -39,6 +39,11 @@
#define PUBLIC_API
#endif
+// Version numbering (v1.5.1)
+#define CLBLAST_VERSION_MAJOR 1
+#define CLBLAST_VERSION_MINOR 5
+#define CLBLAST_VERSION_PATCH 1
+
namespace clblast {
// =================================================================================================
diff --git a/include/clblast_c.h b/include/clblast_c.h
index 2ba6375a..7f7b1e97 100644
--- a/include/clblast_c.h
+++ b/include/clblast_c.h
@@ -34,6 +34,11 @@
#define PUBLIC_API
#endif
+// Version numbering (v1.5.1)
+#define CLBLAST_VERSION_MAJOR 1
+#define CLBLAST_VERSION_MINOR 5
+#define CLBLAST_VERSION_PATCH 1
+
// The C interface
#ifdef __cplusplus
extern "C" {
diff --git a/scripts/generator/generator.py b/scripts/generator/generator.py
index 798cd535..875b1a55 100755
--- a/scripts/generator/generator.py
+++ b/scripts/generator/generator.py
@@ -49,7 +49,7 @@ FILES = [
"/src/clblast_cuda.cpp",
"/src/pyclblast/src/pyclblast.pyx"
]
-HEADER_LINES = [124, 21, 128, 24, 29, 45, 29, 66, 40, 96, 21, 327]
+HEADER_LINES = [129, 21, 133, 24, 29, 45, 29, 66, 40, 96, 21, 327]
FOOTER_LINES = [98, 57, 112, 275, 6, 6, 6, 9, 2, 41, 56, 37]
HEADER_LINES_DOC = 0
FOOTER_LINES_DOC = 232