summaryrefslogtreecommitdiff
path: root/test/performance/routines/level3/xher2k.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-03 21:44:35 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-03 21:44:35 +0200
commiteb1fda2729c4022493aa874e3fe81d2a270085a1 (patch)
tree98ffef845d862754a17f088f86e5f2c5b1c3ecdc /test/performance/routines/level3/xher2k.cpp
parentb24d36474334a74c286ffddc6af8fb74a3bae445 (diff)
In-lined the float2 and double2 types to avoid collision with CUDA's definitions
Diffstat (limited to 'test/performance/routines/level3/xher2k.cpp')
-rw-r--r--test/performance/routines/level3/xher2k.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/performance/routines/level3/xher2k.cpp b/test/performance/routines/level3/xher2k.cpp
index d579d4f9..9d3385f7 100644
--- a/test/performance/routines/level3/xher2k.cpp
+++ b/test/performance/routines/level3/xher2k.cpp
@@ -12,10 +12,6 @@
#include "test/performance/client.hpp"
#include "test/routines/level3/xher2k.hpp"
-// 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[]) {
const auto command_line_args = clblast::RetrieveCommandLineArguments(argc, argv);
@@ -24,9 +20,9 @@ int main(int argc, char *argv[]) {
case clblast::Precision::kSingle: throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kDouble: throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kComplexSingle:
- clblast::RunClient<clblast::TestXher2k<float2,float>, float2, float>(argc, argv); break;
+ clblast::RunClient<clblast::TestXher2k<clblast::float2,float>, clblast::float2, float>(argc, argv); break;
case clblast::Precision::kComplexDouble:
- clblast::RunClient<clblast::TestXher2k<double2,double>, double2, double>(argc, argv); break;
+ clblast::RunClient<clblast::TestXher2k<clblast::double2,double>, clblast::double2, double>(argc, argv); break;
}
return 0;
}