From eb1fda2729c4022493aa874e3fe81d2a270085a1 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Mon, 3 Apr 2017 21:44:35 +0200 Subject: In-lined the float2 and double2 types to avoid collision with CUDA's definitions --- test/performance/routines/level1/xdotu.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/performance/routines/level1/xdotu.cpp') diff --git a/test/performance/routines/level1/xdotu.cpp b/test/performance/routines/level1/xdotu.cpp index 4fbe167d..fc54a8a5 100644 --- a/test/performance/routines/level1/xdotu.cpp +++ b/test/performance/routines/level1/xdotu.cpp @@ -12,10 +12,6 @@ #include "test/performance/client.hpp" #include "test/routines/level1/xdotu.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, float2, float2>(argc, argv); break; + clblast::RunClient, clblast::float2, clblast::float2>(argc, argv); break; case clblast::Precision::kComplexDouble: - clblast::RunClient, double2, double2>(argc, argv); break; + clblast::RunClient, clblast::double2, clblast::double2>(argc, argv); break; } return 0; } -- cgit v1.2.3