diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-02-20 14:41:53 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-02-20 14:41:53 +0100 |
commit | 9f682aa66bf38828e915431fe61603f535c61363 (patch) | |
tree | 6089bffcb08a30b7635b3a72a565e15f569e4ce3 /test/performance/routines/level3 | |
parent | 6dc44da07bc0209a399a3e40300aa859e41034d9 (diff) |
Set a proper default precision for the CLBlast clients
Diffstat (limited to 'test/performance/routines/level3')
-rw-r--r-- | test/performance/routines/level3/xgemm.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xhemm.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xher2k.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xherk.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xsymm.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xsyr2k.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xsyrk.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xtrmm.cc | 2 | ||||
-rw-r--r-- | test/performance/routines/level3/xtrsm.cc | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/test/performance/routines/level3/xgemm.cc b/test/performance/routines/level3/xgemm.cc index 2082ceac..91897ee1 100644 --- a/test/performance/routines/level3/xgemm.cc +++ b/test/performance/routines/level3/xgemm.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXgemm<float>, float, float>(argc, argv); break; diff --git a/test/performance/routines/level3/xhemm.cc b/test/performance/routines/level3/xhemm.cc index cc68e937..87650b9e 100644 --- a/test/performance/routines/level3/xhemm.cc +++ b/test/performance/routines/level3/xhemm.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"); diff --git a/test/performance/routines/level3/xher2k.cc b/test/performance/routines/level3/xher2k.cc index 70d76bed..06894816 100644 --- a/test/performance/routines/level3/xher2k.cc +++ b/test/performance/routines/level3/xher2k.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"); diff --git a/test/performance/routines/level3/xherk.cc b/test/performance/routines/level3/xherk.cc index b3b5dddf..d6f38fb2 100644 --- a/test/performance/routines/level3/xherk.cc +++ b/test/performance/routines/level3/xherk.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"); diff --git a/test/performance/routines/level3/xsymm.cc b/test/performance/routines/level3/xsymm.cc index f2292273..e0feadd1 100644 --- a/test/performance/routines/level3/xsymm.cc +++ b/test/performance/routines/level3/xsymm.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsymm<float>, float, float>(argc, argv); break; diff --git a/test/performance/routines/level3/xsyr2k.cc b/test/performance/routines/level3/xsyr2k.cc index 0c8f8f7c..4a82ddc4 100644 --- a/test/performance/routines/level3/xsyr2k.cc +++ b/test/performance/routines/level3/xsyr2k.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsyr2k<float>, float, float>(argc, argv); break; diff --git a/test/performance/routines/level3/xsyrk.cc b/test/performance/routines/level3/xsyrk.cc index ccd4511a..70f61322 100644 --- a/test/performance/routines/level3/xsyrk.cc +++ b/test/performance/routines/level3/xsyrk.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsyrk<float>, float, float>(argc, argv); break; diff --git a/test/performance/routines/level3/xtrmm.cc b/test/performance/routines/level3/xtrmm.cc index 8278d077..6f6041e4 100644 --- a/test/performance/routines/level3/xtrmm.cc +++ b/test/performance/routines/level3/xtrmm.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXtrmm<float>, float, float>(argc, argv); break; diff --git a/test/performance/routines/level3/xtrsm.cc b/test/performance/routines/level3/xtrsm.cc index 45f71c5e..76ef255a 100644 --- a/test/performance/routines/level3/xtrsm.cc +++ b/test/performance/routines/level3/xtrsm.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::kSingle)) { case clblast::Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXtrsm<float>, float, float>(argc, argv); break; |