diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-06-21 11:21:03 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-06-21 11:21:03 +0200 |
commit | ea7da6a49758af50302be040ab7a97a7a8c0f692 (patch) | |
tree | c7229f5504669affbeecfd05f3fefa308859425a | |
parent | 985eeac50306e9efbbfcc758eafb93acb66a8a78 (diff) |
Fixed support for complex data-types for GEMM and SYMM clients
-rw-r--r-- | test/performance/routines/xgemm.cc | 4 | ||||
-rw-r--r-- | test/performance/routines/xsymm.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/performance/routines/xgemm.cc b/test/performance/routines/xgemm.cc index 234e9fdb..adff85c8 100644 --- a/test/performance/routines/xgemm.cc +++ b/test/performance/routines/xgemm.cc @@ -98,8 +98,8 @@ void ClientXgemm(int argc, char *argv[]) { case Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case Precision::kSingle: ClientABC<float>(argc, argv, PerformanceXgemm<float>, o); break; case Precision::kDouble: ClientABC<double>(argc, argv, PerformanceXgemm<double>, o); break; - case Precision::kComplexSingle: throw std::runtime_error("Unsupported precision mode"); - case Precision::kComplexDouble: throw std::runtime_error("Unsupported precision mode"); + case Precision::kComplexSingle: ClientABC<float2>(argc, argv, PerformanceXgemm<float2>, o); break; + case Precision::kComplexDouble: ClientABC<double2>(argc, argv, PerformanceXgemm<double2>, o); break; } } diff --git a/test/performance/routines/xsymm.cc b/test/performance/routines/xsymm.cc index 13ad434a..3c9feb05 100644 --- a/test/performance/routines/xsymm.cc +++ b/test/performance/routines/xsymm.cc @@ -98,8 +98,8 @@ void ClientXsymm(int argc, char *argv[]) { case Precision::kHalf: throw std::runtime_error("Unsupported precision mode"); case Precision::kSingle: ClientABC<float>(argc, argv, PerformanceXsymm<float>, o); break; case Precision::kDouble: ClientABC<double>(argc, argv, PerformanceXsymm<double>, o); break; - case Precision::kComplexSingle: throw std::runtime_error("Unsupported precision mode"); - case Precision::kComplexDouble: throw std::runtime_error("Unsupported precision mode"); + case Precision::kComplexSingle: ClientABC<float2>(argc, argv, PerformanceXsymm<float2>, o); break; + case Precision::kComplexDouble: ClientABC<double2>(argc, argv, PerformanceXsymm<double2>, o); break; } } |