diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-06-28 22:32:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-28 22:32:25 +0200 |
commit | 7c13bacf129291e3e295ecb6e833788477085fa0 (patch) | |
tree | d114eeca418444d0b1c70cc9cce983de041235c9 /test/performance/routines/level3 | |
parent | 181eb20bbf15cf11baaf6112b6965050c49dd543 (diff) | |
parent | 577f0ee1179014ece853af39d6f0ff0c87316eb3 (diff) |
Merge pull request #70 from CNugteren/development
Update to version 0.8.0
Diffstat (limited to 'test/performance/routines/level3')
-rw-r--r-- | test/performance/routines/level3/xgemm.cpp (renamed from test/performance/routines/level3/xgemm.cc) | 7 | ||||
-rw-r--r-- | test/performance/routines/level3/xhemm.cpp (renamed from test/performance/routines/level3/xhemm.cc) | 4 | ||||
-rw-r--r-- | test/performance/routines/level3/xher2k.cpp (renamed from test/performance/routines/level3/xher2k.cc) | 4 | ||||
-rw-r--r-- | test/performance/routines/level3/xherk.cpp (renamed from test/performance/routines/level3/xherk.cc) | 4 | ||||
-rw-r--r-- | test/performance/routines/level3/xsymm.cpp (renamed from test/performance/routines/level3/xsymm.cc) | 7 | ||||
-rw-r--r-- | test/performance/routines/level3/xsyr2k.cpp (renamed from test/performance/routines/level3/xsyr2k.cc) | 7 | ||||
-rw-r--r-- | test/performance/routines/level3/xsyrk.cpp (renamed from test/performance/routines/level3/xsyrk.cc) | 7 | ||||
-rw-r--r-- | test/performance/routines/level3/xtrmm.cpp (renamed from test/performance/routines/level3/xtrmm.cc) | 7 | ||||
-rw-r--r-- | test/performance/routines/level3/xtrsm.cpp (renamed from test/performance/routines/level3/xtrsm.cc) | 7 |
9 files changed, 30 insertions, 24 deletions
diff --git a/test/performance/routines/level3/xgemm.cc b/test/performance/routines/level3/xgemm.cpp index 91897ee1..3f68096e 100644 --- a/test/performance/routines/level3/xgemm.cc +++ b/test/performance/routines/level3/xgemm.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xgemm.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xgemm.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXgemm<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXgemm<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: diff --git a/test/performance/routines/level3/xhemm.cc b/test/performance/routines/level3/xhemm.cpp index 87650b9e..ff6d0f71 100644 --- a/test/performance/routines/level3/xhemm.cc +++ b/test/performance/routines/level3/xhemm.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xhemm.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xhemm.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; diff --git a/test/performance/routines/level3/xher2k.cc b/test/performance/routines/level3/xher2k.cpp index 06894816..9636959e 100644 --- a/test/performance/routines/level3/xher2k.cc +++ b/test/performance/routines/level3/xher2k.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xher2k.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xher2k.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; diff --git a/test/performance/routines/level3/xherk.cc b/test/performance/routines/level3/xherk.cpp index d6f38fb2..d51400f0 100644 --- a/test/performance/routines/level3/xherk.cc +++ b/test/performance/routines/level3/xherk.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xherk.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xherk.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; diff --git a/test/performance/routines/level3/xsymm.cc b/test/performance/routines/level3/xsymm.cpp index e0feadd1..38c3dc9b 100644 --- a/test/performance/routines/level3/xsymm.cc +++ b/test/performance/routines/level3/xsymm.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xsymm.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xsymm.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXsymm<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsymm<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: diff --git a/test/performance/routines/level3/xsyr2k.cc b/test/performance/routines/level3/xsyr2k.cpp index 4a82ddc4..5360e297 100644 --- a/test/performance/routines/level3/xsyr2k.cc +++ b/test/performance/routines/level3/xsyr2k.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xsyr2k.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xsyr2k.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXsyr2k<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsyr2k<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: diff --git a/test/performance/routines/level3/xsyrk.cc b/test/performance/routines/level3/xsyrk.cpp index 70f61322..30612f99 100644 --- a/test/performance/routines/level3/xsyrk.cc +++ b/test/performance/routines/level3/xsyrk.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xsyrk.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xsyrk.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXsyrk<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXsyrk<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: diff --git a/test/performance/routines/level3/xtrmm.cc b/test/performance/routines/level3/xtrmm.cpp index 6f6041e4..264a34e7 100644 --- a/test/performance/routines/level3/xtrmm.cc +++ b/test/performance/routines/level3/xtrmm.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xtrmm.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xtrmm.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXtrmm<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXtrmm<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: diff --git a/test/performance/routines/level3/xtrsm.cc b/test/performance/routines/level3/xtrsm.cpp index 76ef255a..80c46d91 100644 --- a/test/performance/routines/level3/xtrsm.cc +++ b/test/performance/routines/level3/xtrsm.cpp @@ -9,8 +9,8 @@ // // ================================================================================================= -#include "performance/client.h" -#include "routines/level3/xtrsm.h" +#include "test/performance/client.hpp" +#include "test/routines/level3/xtrsm.hpp" // Shortcuts to the clblast namespace using float2 = clblast::float2; @@ -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::TestXtrsm<half>, half, half>(argc, argv); break; case clblast::Precision::kSingle: clblast::RunClient<clblast::TestXtrsm<float>, float, float>(argc, argv); break; case clblast::Precision::kDouble: |