diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-03 21:44:35 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-03 21:44:35 +0200 |
commit | eb1fda2729c4022493aa874e3fe81d2a270085a1 (patch) | |
tree | 98ffef845d862754a17f088f86e5f2c5b1c3ecdc /test/correctness/routines/level3/xhemm.cpp | |
parent | b24d36474334a74c286ffddc6af8fb74a3bae445 (diff) |
In-lined the float2 and double2 types to avoid collision with CUDA's definitions
Diffstat (limited to 'test/correctness/routines/level3/xhemm.cpp')
-rw-r--r-- | test/correctness/routines/level3/xhemm.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/correctness/routines/level3/xhemm.cpp b/test/correctness/routines/level3/xhemm.cpp index 76c970a7..cbd277e2 100644 --- a/test/correctness/routines/level3/xhemm.cpp +++ b/test/correctness/routines/level3/xhemm.cpp @@ -12,15 +12,11 @@ #include "test/correctness/testblas.hpp" #include "test/routines/level3/xhemm.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[]) { auto errors = size_t{0}; - errors += clblast::RunTests<clblast::TestXhemm<float2>, float2, float2>(argc, argv, false, "CHEMM"); - errors += clblast::RunTests<clblast::TestXhemm<double2>, double2, double2>(argc, argv, true, "ZHEMM"); + errors += clblast::RunTests<clblast::TestXhemm<clblast::float2>, clblast::float2, clblast::float2>(argc, argv, false, "CHEMM"); + errors += clblast::RunTests<clblast::TestXhemm<clblast::double2>, clblast::double2, clblast::double2>(argc, argv, true, "ZHEMM"); if (errors > 0) { return 1; } else { return 0; } } |