summaryrefslogtreecommitdiff
path: root/test/performance/routines/xsyr2k.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance/routines/xsyr2k.cc')
-rw-r--r--test/performance/routines/xsyr2k.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/performance/routines/xsyr2k.cc b/test/performance/routines/xsyr2k.cc
index 63b50df6..e4c76229 100644
--- a/test/performance/routines/xsyr2k.cc
+++ b/test/performance/routines/xsyr2k.cc
@@ -16,19 +16,23 @@
// =================================================================================================
+// 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[]) {
switch(clblast::GetPrecision(argc, argv)) {
case clblast::Precision::kHalf:
throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kSingle:
- clblast::RunClient<clblast::TestXsyr2k<float>, float>(argc, argv); break;
+ clblast::RunClient<clblast::TestXsyr2k<float>, float, float>(argc, argv); break;
case clblast::Precision::kDouble:
- clblast::RunClient<clblast::TestXsyr2k<double>, double>(argc, argv); break;
+ clblast::RunClient<clblast::TestXsyr2k<double>, double, double>(argc, argv); break;
case clblast::Precision::kComplexSingle:
- clblast::RunClient<clblast::TestXsyr2k<clblast::float2>, clblast::float2>(argc, argv); break;
+ clblast::RunClient<clblast::TestXsyr2k<float2>, float2, float2>(argc, argv); break;
case clblast::Precision::kComplexDouble:
- clblast::RunClient<clblast::TestXsyr2k<clblast::double2>, clblast::double2>(argc, argv); break;
+ clblast::RunClient<clblast::TestXsyr2k<double2>, double2, double2>(argc, argv); break;
}
return 0;
}