diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-25 14:37:26 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-25 14:37:26 +0200 |
commit | 4612ff3552d94ab8827888c3de2fcac76190a686 (patch) | |
tree | 2ef7452fa0d6b57966d852f43f9fbb48309b82c2 /test/performance/routines/level2/xsyr2.cc | |
parent | 9f8745507020961b1c287febc3a5634b46ccb0e9 (diff) |
Added possibility to run the performance client with half-precision
Diffstat (limited to 'test/performance/routines/level2/xsyr2.cc')
-rw-r--r-- | test/performance/routines/level2/xsyr2.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/performance/routines/level2/xsyr2.cc b/test/performance/routines/level2/xsyr2.cc index 0ad59d2d..bbeed3db 100644 --- a/test/performance/routines/level2/xsyr2.cc +++ b/test/performance/routines/level2/xsyr2.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::TestXsyr2<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsyr2<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: |