summaryrefslogtreecommitdiff
path: root/test/correctness/routines/level1/xrot.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-03-30 16:17:16 +0200
committercnugteren <web@cedricnugteren.nl>2016-03-30 16:13:32 -0700
commit6ecc0d089c80296cce3089734771279a30783f81 (patch)
treefb7e0dc3c8e04e6fe2f1e4761c386f98630689b8 /test/correctness/routines/level1/xrot.cc
parent6e5f558746eec09eda6132754649419430a86f41 (diff)
Added prototypes for the xROT and xROTG functions
Diffstat (limited to 'test/correctness/routines/level1/xrot.cc')
-rw-r--r--test/correctness/routines/level1/xrot.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/correctness/routines/level1/xrot.cc b/test/correctness/routines/level1/xrot.cc
new file mode 100644
index 00000000..4020ff13
--- /dev/null
+++ b/test/correctness/routines/level1/xrot.cc
@@ -0,0 +1,26 @@
+
+// =================================================================================================
+// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This
+// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max-
+// width of 100 characters per line.
+//
+// Author(s):
+// Cedric Nugteren <www.cedricnugteren.nl>
+//
+// =================================================================================================
+
+#include "correctness/testblas.h"
+#include "routines/level1/xrot.h"
+
+// Shortcuts to the clblast namespace
+using float2 = clblast::float2;
+using double2 = clblast::double2;
+
+// Main function (not within the clblast namespace)
+int main(int argc, char *argv[]) {
+ clblast::RunTests<clblast::TestXrot<float>, float, float>(argc, argv, false, "SROT");
+ clblast::RunTests<clblast::TestXrot<double>, double, double>(argc, argv, true, "DROT");
+ return 0;
+}
+
+// =================================================================================================