diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-09-18 10:19:03 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-09-18 10:19:03 +0200 |
commit | 4796c9bcbd84a9e8be1e2864ba47e0d6bf3e6632 (patch) | |
tree | d74289f024341071ec11324a9827e2e33428f895 /test/performance/routines/level1/xswap.cc | |
parent | 6105ad6f5b40b319477be7b51b8631e510d58672 (diff) |
Added generated main functions for correctness/performance tests for level 2 routines
Diffstat (limited to 'test/performance/routines/level1/xswap.cc')
-rw-r--r-- | test/performance/routines/level1/xswap.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/performance/routines/level1/xswap.cc b/test/performance/routines/level1/xswap.cc index 94f271ee..52fdc580 100644 --- a/test/performance/routines/level1/xswap.cc +++ b/test/performance/routines/level1/xswap.cc @@ -7,15 +7,11 @@ // Author(s): // Cedric Nugteren <www.cedricnugteren.nl> // -// This file implements the Xswap command-line interface performance tester. -// // ================================================================================================= #include "performance/client.h" #include "routines/level1/xswap.h" -// ================================================================================================= - // Shortcuts to the clblast namespace using float2 = clblast::float2; using double2 = clblast::double2; @@ -23,8 +19,7 @@ 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::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXswap<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: |