diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:30:38 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-03-25 10:30:38 +0100 |
commit | 1d5a702d9d31afa320a15ed9fa79471aec314f4a (patch) | |
tree | 52a073c0909b23c8e2c29e467c19c81dbcf34f5a /test/performance | |
parent | 3876096c30ad4eed5769dbc88dbfe75b7571718a (diff) |
Added prototypes for ScNRM2/DzNRM2 routines
Diffstat (limited to 'test/performance')
-rw-r--r-- | test/performance/routines/level1/xnrm2.cc | 6 |
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; } |