summaryrefslogtreecommitdiff
path: root/test/performance/routines/level1/xaxpy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance/routines/level1/xaxpy.cc')
-rw-r--r--test/performance/routines/level1/xaxpy.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/performance/routines/level1/xaxpy.cc b/test/performance/routines/level1/xaxpy.cc
index fe90c697..7ab15f28 100644
--- a/test/performance/routines/level1/xaxpy.cc
+++ b/test/performance/routines/level1/xaxpy.cc
@@ -7,15 +7,11 @@
// Author(s):
// Cedric Nugteren <www.cedricnugteren.nl>
//
-// This file implements the Xaxpy command-line interface performance tester.
-//
// =================================================================================================
#include "performance/client.h"
#include "routines/level1/xaxpy.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::TestXaxpy<float>, float, float>(argc, argv); break;
case clblast::Precision::kDouble: