summaryrefslogtreecommitdiff
path: root/test/performance/routines/level2/xspr.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-05-25 14:37:26 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-05-25 14:37:26 +0200
commit4612ff3552d94ab8827888c3de2fcac76190a686 (patch)
tree2ef7452fa0d6b57966d852f43f9fbb48309b82c2 /test/performance/routines/level2/xspr.cc
parent9f8745507020961b1c287febc3a5634b46ccb0e9 (diff)
Added possibility to run the performance client with half-precision
Diffstat (limited to 'test/performance/routines/level2/xspr.cc')
-rw-r--r--test/performance/routines/level2/xspr.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/performance/routines/level2/xspr.cc b/test/performance/routines/level2/xspr.cc
index 84331d74..19651679 100644
--- a/test/performance/routines/level2/xspr.cc
+++ b/test/performance/routines/level2/xspr.cc
@@ -19,7 +19,8 @@ using double2 = clblast::double2;
// Main function (not within the clblast namespace)
int main(int argc, char *argv[]) {
switch(clblast::GetPrecision(argc, argv, clblast::Precision::kSingle)) {
- case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode");
+ case clblast::Precision::kHalf:
+ clblast::RunClient<clblast::TestXspr<half>, half, half>(argc, argv); break;
case clblast::Precision::kSingle:
clblast::RunClient<clblast::TestXspr<float>, float, float>(argc, argv); break;
case clblast::Precision::kDouble: