summaryrefslogtreecommitdiff
path: root/test/performance/routines/level2/xher.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-02-20 14:41:53 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2016-02-20 14:41:53 +0100
commit9f682aa66bf38828e915431fe61603f535c61363 (patch)
tree6089bffcb08a30b7635b3a72a565e15f569e4ce3 /test/performance/routines/level2/xher.cc
parent6dc44da07bc0209a399a3e40300aa859e41034d9 (diff)
Set a proper default precision for the CLBlast clients
Diffstat (limited to 'test/performance/routines/level2/xher.cc')
-rw-r--r--test/performance/routines/level2/xher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/routines/level2/xher.cc b/test/performance/routines/level2/xher.cc
index 4ef87e45..613d7766 100644
--- a/test/performance/routines/level2/xher.cc
+++ b/test/performance/routines/level2/xher.cc
@@ -18,7 +18,7 @@ using double2 = clblast::double2;
// Main function (not within the clblast namespace)
int main(int argc, char *argv[]) {
- switch(clblast::GetPrecision(argc, argv)) {
+ switch(clblast::GetPrecision(argc, argv, clblast::Precision::kComplexSingle)) {
case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kSingle: throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kDouble: throw std::runtime_error("Unsupported precision mode");