summaryrefslogtreecommitdiff
path: root/src/database/kernels/xaxpy
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-12-27 12:04:22 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-12-27 12:04:22 +0100
commit1e738db6dd84d552550a15473abdda83e88f4c80 (patch)
tree44bd0c99699ed66203348fd1401e3b5bb3497eee /src/database/kernels/xaxpy
parent4a2fc4aa989ce84dc476cf9508adb676a042896b (diff)
Split the database into multiple small compilation units
Diffstat (limited to 'src/database/kernels/xaxpy')
-rw-r--r--src/database/kernels/xaxpy/xaxpy.cpp15
-rw-r--r--src/database/kernels/xaxpy/xaxpy.hpp18
2 files changed, 28 insertions, 5 deletions
diff --git a/src/database/kernels/xaxpy/xaxpy.cpp b/src/database/kernels/xaxpy/xaxpy.cpp
new file mode 100644
index 00000000..71247b68
--- /dev/null
+++ b/src/database/kernels/xaxpy/xaxpy.cpp
@@ -0,0 +1,15 @@
+
+// =================================================================================================
+// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. It
+// is auto-generated by the 'scripts/database/database.py' Python script.
+//
+// This file populates the database with best-found tuning parameters for the 'Xaxpy' kernels.
+//
+// =================================================================================================
+
+#include "database/kernels/xaxpy/xaxpy.hpp"
+#include "database/kernels/xaxpy/xaxpy_16.hpp"
+#include "database/kernels/xaxpy/xaxpy_32.hpp"
+#include "database/kernels/xaxpy/xaxpy_3232.hpp"
+#include "database/kernels/xaxpy/xaxpy_64.hpp"
+#include "database/kernels/xaxpy/xaxpy_6464.hpp"
diff --git a/src/database/kernels/xaxpy/xaxpy.hpp b/src/database/kernels/xaxpy/xaxpy.hpp
index aa920183..803dcc21 100644
--- a/src/database/kernels/xaxpy/xaxpy.hpp
+++ b/src/database/kernels/xaxpy/xaxpy.hpp
@@ -7,8 +7,16 @@
//
// =================================================================================================
-#include "database/kernels/xaxpy/xaxpy_16.hpp"
-#include "database/kernels/xaxpy/xaxpy_32.hpp"
-#include "database/kernels/xaxpy/xaxpy_3232.hpp"
-#include "database/kernels/xaxpy/xaxpy_64.hpp"
-#include "database/kernels/xaxpy/xaxpy_6464.hpp"
+#include "database/database_structure.hpp"
+
+namespace clblast {
+namespace database {
+
+extern const DatabaseEntry XaxpyHalf;
+extern const DatabaseEntry XaxpySingle;
+extern const DatabaseEntry XaxpyComplexSingle;
+extern const DatabaseEntry XaxpyDouble;
+extern const DatabaseEntry XaxpyComplexDouble;
+
+} // namespace database
+} // namespace clblast