summaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-03-25 10:30:38 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-03-25 10:30:38 +0100
commit1d5a702d9d31afa320a15ed9fa79471aec314f4a (patch)
tree52a073c0909b23c8e2c29e467c19c81dbcf34f5a /test/performance
parent3876096c30ad4eed5769dbc88dbfe75b7571718a (diff)
Added prototypes for ScNRM2/DzNRM2 routines
Diffstat (limited to 'test/performance')
-rw-r--r--test/performance/routines/level1/xnrm2.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/performance/routines/level1/xnrm2.cc b/test/performance/routines/level1/xnrm2.cc
index d5ae348b..db6ec9ad 100644
--- a/test/performance/routines/level1/xnrm2.cc
+++ b/test/performance/routines/level1/xnrm2.cc
@@ -24,8 +24,10 @@ int main(int argc, char *argv[]) {
clblast::RunClient<clblast::TestXnrm2<float>, float, float>(argc, argv); break;
case clblast::Precision::kDouble:
clblast::RunClient<clblast::TestXnrm2<double>, double, double>(argc, argv); break;
- case clblast::Precision::kComplexSingle: throw std::runtime_error("Unsupported precision mode");
- case clblast::Precision::kComplexDouble: throw std::runtime_error("Unsupported precision mode");
+ case clblast::Precision::kComplexSingle:
+ clblast::RunClient<clblast::TestXnrm2<float2>, float2, float2>(argc, argv); break;
+ case clblast::Precision::kComplexDouble:
+ clblast::RunClient<clblast::TestXnrm2<double2>, double2, double2>(argc, argv); break;
}
return 0;
}